Imap Command Exception(Imap Command Response, IEnumerableImap Response Code, String, String) Constructor
Initializes a new instance of the ImapCommandException class.
Definition
Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public ImapCommandException(
ImapCommandResponse response,
IEnumerable<ImapResponseCode> responseCodes,
string responseText,
string message
)Parameters
- response ImapCommandResponse
- The IMAP command response.
- responseCodes IEnumerableImapResponseCode
- The error response codes received by the command.
- responseText String
- The human-readable response text.
- message String
- The error message.
Remarks
Creates a new ImapCommandException.
Exceptions
| ArgumentNullException | responseCodes is . |
| ArgumentException | responseCodes contains a response code. |