Sdílet prostřednictvím


SmtpReceiveAgent.OnEndOfData Event

The OnEndOfData event occurs when the server reaches the end of data for a Simple Mail Transfer Protocol (SMTP) message.

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Protected Event OnEndOfData As EndOfDataEventHandler
protected event EndOfDataEventHandler OnEndOfData
protected:
event EndOfDataEventHandler^ OnEndOfData {
    void add (EndOfDataEventHandler^ value);
    void remove (EndOfDataEventHandler^ value);
}
/** @event */
protected void add_OnEndOfData (EndOfDataEventHandler value)

/** @event */
protected void remove_OnEndOfData (EndOfDataEventHandler 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