MailTransport Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)


Public MustInherit Class MailTransport _
    Implements IDisposable
Dim instance As MailTransport
public abstract class MailTransport : IDisposable
public ref class MailTransport abstract : IDisposable
type MailTransport =  
        interface IDisposable


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:


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.

Inheritance Hierarchy


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.


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.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also


MailTransport Members

Microsoft.ServiceModel.Channels.Mail Namespace