Compartilhar via


ExchangeWebServiceMailTransportBindingElement 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 binding element that is used to construct Exchange Web Services 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 ExchangeWebServiceMailTransportBindingElement _
    Inherits MailTransportBindingElementBase
'Usage
Dim instance As ExchangeWebServiceMailTransportBindingElement
public sealed class ExchangeWebServiceMailTransportBindingElement : MailTransportBindingElementBase
public ref class ExchangeWebServiceMailTransportBindingElement sealed : public MailTransportBindingElementBase
[<SealedAttribute>]
type ExchangeWebServiceMailTransportBindingElement =  
    class
        inherit MailTransportBindingElementBase
    end

Remarks

This is a sealed class that represents the mail transport binding element, which is used to construct an Exchange Web Services transport for the desktop. The base class, MailTransportBindingElementBase, contains most of the functionality used by this class.

After you initialize a new instance of this class, pass the object in the constructor of a new CustomBinding object.

The computer is assumed to be online. Only the mail transport used in Windows Mobile devices supports scenarios in which the device might be offline for a while.

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
  System.ServiceModel.Channels.BindingElement
    System.ServiceModel.Channels.TransportBindingElement
      Microsoft.ServiceModel.Channels.Mail.MailTransportBindingElementBase
        Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.ExchangeWebServiceMailTransportBindingElement

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

ExchangeWebServiceMailTransportBindingElement Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService Namespace