This documentation is archived and is not being maintained.

MailTransport Class

Visual Studio 2008

Defines the core behavior of the MailTransport class and provides a base for mail transport derivations.

Namespace:  Microsoft.ServiceModel.Channels.Mail
Assembly:  Microsoft.ServiceModel.Channels.Mail (in Microsoft.ServiceModel.Channels.Mail.dll)

'Declaration
Public MustInherit Class MailTransport _
	Implements IDisposable
'Usage
Dim instance As MailTransport

This class implements common properties and functions for the mail transport.

MailTransport factors out properties that are common to all the mail transports provided by the Windows Communication Foundation (WCF) Exchange Server mail transport assemblies. It handles the translation of the base mail transport settings into run-time manifestations. It delegates mail transport-specific implementation details to its concrete subclasses. These subclasses include the following:

NoteNote:

This class is included with the .NET Compact Framework version 3.5, but it requires either the .NET Compact Framework 3.5 or the .NET Framework version 3.0 or later at run time.

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

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5
Show: