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