Freigeben über


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
    Get
'Usage
Dim instance As ReceiveEventArgs
Dim value As SmtpSession

value = instance.SmtpSession
public SmtpSession SmtpSession { get; }