Share via


DisconnectEventArgs members

The DisconnectEventArgs class provides data for the OnDisconnect event.

The DisconnectEventArgs type exposes the following members.

Properties

  Name Description
Public property DisconnectReason The DisconnectReason property gets one of the DisconnectReason enumeration values that indicates the reason for the disconnection.
Public property SmtpSession The SmtpSession property gets the instance of the SmtpSession class that is associated with the event to which this instance of a class that derives from the ReceiveEventArgs class was passed. (Inherited from ReceiveEventArgs.)

Top

See also

Reference

DisconnectEventArgs class

Microsoft.Exchange.Data.Transport.Smtp namespace