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
source
Type: Microsoft.Exchange.Data.Transport.Smtp.ConnectEventSourceThe source of the event.
e
Type: Microsoft.Exchange.Data.Transport.Smtp.ConnectEventArgsAn instance of the ConnectEventArgs class that contains the event data.