Imap Response Code Constructor
Initialize a new instance of the ImapResponseCode 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 ImapResponseCode(
string atom,
bool isTagged,
string message
)Parameters
Remarks
Creates a new ImapResponseCode for a response code that does not carry any additional data, such as TRYCREATE or OVERQUOTA.
The Type is determined by atom (case-insensitive) and IsError is determined by the Type. Unrecognized atoms are treated as errors.
Exceptions
| ArgumentNullException |
atom is . -or- message is . |
| ArgumentException |
atom is empty. -or- atom refers to a response code that is represented by a subclass of ImapResponseCode, such as COPYUID. |