Partager via


ReceiveEventArgs.SmtpSession Property

The SmtpSession property gets the instance of the SmtpSession class that is associated with the event to which this instance of a class that derives from the ReceiveEventArgs class was passed.

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

Syntax

'Declaration
Public ReadOnly Property SmtpSession As SmtpSession
public SmtpSession SmtpSession { get; }
public:
property SmtpSession^ SmtpSession {
    SmtpSession^ get ();
}
/** @property */
public SmtpSession get_SmtpSession ()
public function get SmtpSession () : SmtpSession

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003