共用方式為


ReceiveMessageEventSource.RejectMessage method (SmtpResponse, String)

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

Syntax

'Declaration
Public MustOverride Sub RejectMessage ( _
    response As SmtpResponse, _
    trackingContext As String _
)
'Usage
Dim instance As ReceiveMessageEventSource
Dim response As SmtpResponse
Dim trackingContext As String

instance.RejectMessage(response, trackingContext)
public abstract void RejectMessage(
    SmtpResponse response,
    string trackingContext
)

Parameters

See also

Reference

ReceiveMessageEventSource class

ReceiveMessageEventSource members

RejectMessage overload

Microsoft.Exchange.Data.Transport.Smtp namespace