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
protected event RejectEventHandler OnReject
protected:
event RejectEventHandler^ OnReject {
void add (RejectEventHandler^ value);
void remove (RejectEventHandler^ value);
}
/** @event */
protected void add_OnReject (RejectEventHandler value)
/** @event */
protected void remove_OnReject (RejectEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003