ConnectEventHandler Delegate

The ConnectEventHandler delegate represents the method that will handle the OnConnect event of a class that derives 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 ConnectEventHandler ( _
    source As ConnectEventSource, _
    e As ConnectEventArgs _
)
'Usage
Dim instance As New ConnectEventHandler(AddressOf HandlerMethod)
public delegate void ConnectEventHandler(
    ConnectEventSource source,
    ConnectEventArgs e
)

Parameters