次の方法で共有


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 _
)
public abstract void RejectConnection (
    SmtpResponse response
)
public:
virtual void RejectConnection (
    SmtpResponse response
) abstract
public abstract void RejectConnection (
    SmtpResponse response
)
public abstract function RejectConnection (
    response : SmtpResponse
)

Parameters

  • response
    The response to send to the client for this disconnection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003