Share via


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

See also

Reference

Microsoft.Exchange.Data.Transport.Smtp namespace