Compartilhar via


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)

Syntax

'Declaration
Public MustInherit Class MailTransport _
    Implements IDisposable
'Usage
Dim instance As MailTransport
public abstract class MailTransport : IDisposable
public ref class MailTransport abstract : IDisposable
[<AbstractClassAttribute>]
type MailTransport =  
    class
        interface IDisposable
    end

Remarks

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:

Note

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

System.Object
  Microsoft.ServiceModel.Channels.Mail.MailTransport
    Microsoft.ServiceModel.Channels.Mail.WindowsMobile.WindowsMobileMailTransport

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

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

Reference

MailTransport Members

Microsoft.ServiceModel.Channels.Mail Namespace