다음을 통해 공유


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
public enum DisconnectReason
public enum class DisconnectReason
public enum DisconnectReason
public enum DisconnectReason

Members

Member name Description
DroppedSession This server or one of its agents requested that the session be disconnected.
Local The disconnect was initiated locally.
QuitVerb The sender sent the QUIT verb.
Remote The remote connector initiated the disconnect.
SenderDisconnected The connection to the sender was lost.
Timeout The connection to the sender timed out.
TooManyErrors Too many protocol or authentication errors occurred.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003