/// <summary> /// Initializes a new instance of the <see cref="MailKit.Net.Imap.ImapCommandException"/> class. /// </summary> /// <param name="command">The command.</param> /// <param name="result">The command result.</param> internal ImapCommandException(string command, ImapCommandResult result) : base(string.Format("The IMAP server replied to the '{0}' command with a '{1}' response.", command, result.ToString().ToUpperInvariant())) { }
/// <summary> /// Initializes a new instance of the <see cref="MailKit.Net.Imap.ImapCommandException"/> class. /// </summary> /// <remarks> /// Creates a new <see cref="ImapCommandException"/>. /// </remarks> /// <param name="command">The command.</param> /// <param name="result">The command result.</param> internal ImapCommandException (string command, ImapCommandResult result) : base (string.Format ("The IMAP server replied to the '{0}' command with a '{1}' response.", command, result.ToString ().ToUpperInvariant ())) { }