Share 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 _
)
'Usage
Dim instance As New RejectEventHandler(AddressOf HandlerMethod)
public delegate void RejectEventHandler(
    RejectEventSource source,
    RejectEventArgs e
)

Parameters

See also

Reference

Microsoft.Exchange.Data.Transport.Smtp namespace