ReceiveCommandEventSource.RejectCommand Method

When overridden in a derived class, the RejectCommand method rejects the Simple Mail Transfer Protocol (SMTP) command by using the response specified by the response parameter.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Sub RejectCommand ( _
    response As SmtpResponse _
)
'Usage
Dim instance As ReceiveCommandEventSource
Dim response As SmtpResponse

instance.RejectCommand(response)
public abstract void RejectCommand(
    SmtpResponse response
)

Parameters