共用方式為


HeloCommandEventHandler delegate

The HeloCommandEventHandler delegate represents the method that will handle the OnHeloCommand 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 HeloCommandEventHandler ( _
    source As ReceiveCommandEventSource, _
    e As HeloCommandEventArgs _
)
'Usage
Dim instance As New HeloCommandEventHandler(AddressOf HandlerMethod)
public delegate void HeloCommandEventHandler(
    ReceiveCommandEventSource source,
    HeloCommandEventArgs e
)

Parameters

See also

Reference

Microsoft.Exchange.Data.Transport.Smtp namespace