다음을 통해 공유


DisconnectEventHandler Delegate

The DisconnectEventHandler delegate represents the method that will handle the OnDisconnect event of a class derived 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 DisconnectEventHandler ( _
    source As DisconnectEventSource, _
    e As DisconnectEventArgs _
)
public delegate void DisconnectEventHandler (
    DisconnectEventSource source,
    DisconnectEventArgs e
)
public delegate void DisconnectEventHandler (
    DisconnectEventSource^ source, 
    DisconnectEventArgs^ e
)
/** @delegate */
public delegate void DisconnectEventHandler (
    DisconnectEventSource source, 
    DisconnectEventArgs 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