Dela via


SmtpReceiveAgent.OnEndOfHeaders Event

The OnEndOfHeaders event occurs when the server reaches the end of the headers 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 OnEndOfHeaders As EndOfHeadersEventHandler
protected event EndOfHeadersEventHandler OnEndOfHeaders
protected:
event EndOfHeadersEventHandler^ OnEndOfHeaders {
    void add (EndOfHeadersEventHandler^ value);
    void remove (EndOfHeadersEventHandler^ value);
}
/** @event */
protected void add_OnEndOfHeaders (EndOfHeadersEventHandler value)

/** @event */
protected void remove_OnEndOfHeaders (EndOfHeadersEventHandler 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