EndOfDataEventHandler Delegate
The EndOfDataEventHandler delegate represents the method that will handle the OnEndOfData 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 EndOfDataEventHandler ( _
source As ReceiveMessageEventSource, _
e As EndOfDataEventArgs _
)
'Usage
Dim instance As New EndOfDataEventHandler(AddressOf HandlerMethod)
public delegate void EndOfDataEventHandler(
ReceiveMessageEventSource source,
EndOfDataEventArgs e
)
Parameters
- source
Type: Microsoft.Exchange.Data.Transport.Smtp.ReceiveMessageEventSource
The source of the event.
- e
Type: Microsoft.Exchange.Data.Transport.Smtp.EndOfDataEventArgs
An instance of the EndOfDataEventArgs class that contains the event data.