共用方式為


SmtpReceiveAgent.OnReject event

The OnReject event occurs when any other event rejects a command or message.

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

Syntax

'Declaration
Protected Event OnReject As RejectEventHandler
'Usage
Dim handler As RejectEventHandler

AddHandler Me.OnReject, handler
protected event RejectEventHandler OnReject

See also

Reference

SmtpReceiveAgent class

SmtpReceiveAgent members

Microsoft.Exchange.Data.Transport.Smtp namespace