ConnectEventSource.RejectConnection method

When overridden in a derived class, the RejectConnection method rejects the Simple Mail Transfer Protocol (SMTP) connection by using the response specified in 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 RejectConnection ( _
    response As SmtpResponse _
)
'Usage
Dim instance As ConnectEventSource
Dim response As SmtpResponse

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

Parameters

See also

Reference

ConnectEventSource class

ConnectEventSource members

Microsoft.Exchange.Data.Transport.Smtp namespace