共用方式為


SmtpSession class

The SmtpSession class is the base class for classes that represent a Simple Mail Transfer Protocol (SMTP) session.

Inheritance hierarchy

System.Object
  Microsoft.Exchange.Data.Transport.Smtp.SmtpSession

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustInherit Class SmtpSession
'Usage
Dim instance As SmtpSession
public abstract class 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.

See also

Reference

SmtpSession members

Microsoft.Exchange.Data.Transport.Smtp namespace