DisconnectEventHandler delegate
The DisconnectEventHandler delegate represents the method that will handle the OnDisconnect event of a class derived from the SmtpReceiveAgent class.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Delegate Sub DisconnectEventHandler ( _
source As DisconnectEventSource, _
e As DisconnectEventArgs _
)
'Usage
Dim instance As New DisconnectEventHandler(AddressOf HandlerMethod)
public delegate void DisconnectEventHandler(
DisconnectEventSource source,
DisconnectEventArgs e
)
Parameters
source
Type: Microsoft.Exchange.Data.Transport.Smtp.DisconnectEventSourceThe source of the event.
e
Type: Microsoft.Exchange.Data.Transport.Smtp.DisconnectEventArgsAn instance of the DisconnectEventArgs class that contains the event data.