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
source
Type: Microsoft.Exchange.Data.Transport.Smtp.RejectEventSourceThe source of the event.
e
Type: Microsoft.Exchange.Data.Transport.Smtp.RejectEventArgsAn instance of the RejectEventArgs class that contains the data for the event.