Partager via


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