Partager via


RejectEventHandler Delegate

The RejectEventHandler delegate represents the method that will handle the OnReject event in 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 RejectEventHandler ( _
    source As RejectEventSource, _
    e As RejectEventArgs _
)
public delegate void RejectEventHandler (
    RejectEventSource source,
    RejectEventArgs e
)
public delegate void RejectEventHandler (
    RejectEventSource^ source, 
    RejectEventArgs^ e
)
/** @delegate */
public delegate void RejectEventHandler (
    RejectEventSource source, 
    RejectEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • source
    The source of the event.
  • e
    An instance of the RejectEventArgs class that contains the data for the event.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003