/// <summary>
        /// Returns a <see cref="string" /> that represents this instance.
        /// </summary>
        /// <returns>A <see cref="string" /> that represents this instance.</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.Append(" EntityName: ");
            sb.AppendLine(EntityName);
            sb.Append(" EntitySubscription: ");
            sb.AppendLine(EntitySubscriptionName ?? "[NOT SET]");
            sb.Append(" EntityFilter: ");
            sb.AppendLine(EntityFilter.IsNullOrDefault() || !EntityFilter.HasValue ? "[NOT SET]" : string.Format(EntityFilter.Value.Key, EntityFilter.Value.Value, "{0}/{1}"));
            sb.Append(" CreateEntityIfNotExists: ");
            sb.AppendLine(CreateEntityIfNotExists.ToString(CultureInfo.InvariantCulture));
            sb.Append(" ReadFromErrorQueue: ");
            sb.AppendLine(ReadFromErrorQueue.ToString(CultureInfo.InvariantCulture));
            sb.Append(" SupportStringBodyType: ");
            sb.AppendLine(SupportStringBodyType.ToString(CultureInfo.InvariantCulture));
            sb.Append(" LockRenewalTimeInSeconds: ");
            sb.AppendLine(LockRenewalTimeInSeconds.ToString(CultureInfo.InvariantCulture));
            sb.Append(" LockTimeThreshold: ");
            sb.AppendLine(LockRenewalTimeThreshold.ToString(CultureInfo.InvariantCulture));
            sb.Append(" PollFrequencyInSeconds: ");
            sb.Append(PollFrequencyInSeconds.ToString(CultureInfo.InvariantCulture));

            return(sb.ToString());
        }
        /// <summary>
        /// Returns a <see cref="string" /> that represents this instance.
        /// </summary>
        /// <returns>A <see cref="string" /> that represents this instance.</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.Append(" EntityName: ");
            sb.AppendLine(EntityName);
            sb.Append(" CreateEntityIfNotExists: ");
            sb.AppendLine(CreateEntityIfNotExists.ToString());
            sb.Append(" MessageVersion: ");
            sb.AppendLine(MessageVersionString);

            return(sb.ToString());
        }