Protocol |
[SerializableAttribute] public abstract class ProtocolException : Exception
The ProtocolException type exposes the following members.
Name | Description | |
---|---|---|
ProtocolException | Initializes a new instance of the ProtocolException class. | |
ProtocolException(String) | Initializes a new instance of the ProtocolException class. | |
ProtocolException(SerializationInfo, StreamingContext) | Obsolete. Initializes a new instance of the ProtocolException class. | |
ProtocolException(String, Exception) | Initializes a new instance of the ProtocolException class. |
Name | Description | |
---|---|---|
Data | (Inherited from Exception) | |
HelpLink | (Inherited from Exception) | |
HResult | (Inherited from Exception) | |
InnerException | (Inherited from Exception) | |
Message | (Inherited from Exception) | |
Source | (Inherited from Exception) | |
StackTrace | (Inherited from Exception) | |
TargetSite | (Inherited from Exception) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object) | |
Finalize | (Inherited from Object) | |
GetBaseException | (Inherited from Exception) | |
GetHashCode | (Inherited from Object) | |
GetObjectData | (Inherited from Exception) | |
GetType | (Inherited from Exception) | |
MemberwiseClone | (Inherited from Object) | |
ToString | (Inherited from Exception) |
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception) |
A ProtocolException can be thrown by any of the various client methods in MailKit.
Since many protocol exceptions are fatal, it is important to check whether or not the client is still connected using the IsConnected property when this exception is thrown.