DataCommandEventHandler delegate
The DataCommandEventHandler delegate represents the method that will handle the OnDataCommand 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 DataCommandEventHandler ( _
source As ReceiveCommandEventSource, _
e As DataCommandEventArgs _
)
'Usage
Dim instance As New DataCommandEventHandler(AddressOf HandlerMethod)
public delegate void DataCommandEventHandler(
ReceiveCommandEventSource source,
DataCommandEventArgs e
)
Parameters
source
Type: Microsoft.Exchange.Data.Transport.Smtp.ReceiveCommandEventSourceThe source of the event.
e
Type: Microsoft.Exchange.Data.Transport.Smtp.DataCommandEventArgsAn instance of the DataCommandEventArgs class that contains the event data.