ImapException Class
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
The exception that is thrown when an error occurs while using Imap component.
Syntax
public class ImapException : NetworkSessionException, ISerializable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
ImapException() | Initializes a new instance of the ImapException class. |
ImapException(ImapResponse) | Initializes a new instance of the ImapException class with the specified ImapResponse. |
ImapException(String) | Initializes a new instance of the ImapException class with the specified error message. |
ImapException(String, ImapExceptionStatus) | Initializes a new instance of the ImapException class with the specified error message and status. |
ImapException(String, Exception) | Initializes a new instance of the ImapException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
ImapException(String, Exception, ImapExceptionStatus) | Initializes a new instance of the ImapException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
ProtocolCode | Gets the protocol error code, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException. |
ProtocolMessage | Gets the protocol error message, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException. |
Response | Gets the ImapResponse of the exception. |
Status | Gets the status of the response. |