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 _
)
public delegate void EhloCommandEventHandler (
    ReceiveCommandEventSource source,
    EhloCommandEventArgs e
)
public delegate void EhloCommandEventHandler (
    ReceiveCommandEventSource^ source, 
    EhloCommandEventArgs^ e
)
/** @delegate */
public delegate void EhloCommandEventHandler (
    ReceiveCommandEventSource source, 
    EhloCommandEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • source
    The source of the event.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003