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