DisconnectReason Enumeration
The DisconnectReason enumeration indicates why the OnDisconnect event fired.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Enumeration DisconnectReason
'Usage
Dim instance As DisconnectReason
public enum DisconnectReason
Members
Member name | Description | |
---|---|---|
QuitVerb | The sender sent the QUIT verb. | |
Timeout | The connection to the sender timed out. | |
SenderDisconnected | The connection to the sender was lost. | |
TooManyErrors | Too many protocol or authentication errors occurred. | |
DroppedSession | This server or one of its agents requested that the session be disconnected. | |
Remote | The remote connector initiated the disconnect. | |
Local | The disconnect was initiated locally. |