MailCommandEventHandler delegate

The MailCommandEventHandler delegate represents the method that will handle the OnMailCommand event in classes that derive 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 MailCommandEventHandler ( _
    source As ReceiveCommandEventSource, _
    e As MailCommandEventArgs _
)
'Usage
Dim instance As New MailCommandEventHandler(AddressOf HandlerMethod)
public delegate void MailCommandEventHandler(
    ReceiveCommandEventSource source,
    MailCommandEventArgs e
)

Parameters

See also

Reference

Microsoft.Exchange.Data.Transport.Smtp namespace