共用方式為


EhloCommandEventHandler delegate

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

Parameters

See also

Reference

Microsoft.Exchange.Data.Transport.Smtp namespace