共用方式為


ExchangeWebServiceMailTransport Class

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

Represents the mail transport for Exchange Web Service transports.

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

Syntax

'Declaration
Public NotInheritable Class ExchangeWebServiceMailTransport _
    Inherits MailTransport
'Usage
Dim instance As ExchangeWebServiceMailTransport
public sealed class ExchangeWebServiceMailTransport : MailTransport
public ref class ExchangeWebServiceMailTransport sealed : public MailTransport
[<SealedAttribute>]
type ExchangeWebServiceMailTransport =  
    class
        inherit MailTransport
    end

Remarks

This class is used to manage the mail transport for desktop computers. The base class, MailTransport, implements most of the common functions such as configuring the message cache and the maximum number of retries.

The Transport property of the MailBindingBase class is used to get and set the Exchange Web Service transport for the binding element.

The computer is assumed to be online. Only the mail transport that is used in Windows Mobile devices supports casually connected scenarios in which the device might be offline for a period of time.

Note

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

Inheritance Hierarchy

System.Object
  Microsoft.ServiceModel.Channels.Mail.MailTransport
    Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.ExchangeWebServiceMailTransport

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

ExchangeWebServiceMailTransport Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService Namespace