共用方式為


ReceiveMessageEventSource.DiscardMessage method

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

Syntax

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

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

Parameters

See also

Reference

ReceiveMessageEventSource class

ReceiveMessageEventSource members

Microsoft.Exchange.Data.Transport.Smtp namespace