共用方式為


Microsoft.ServiceModel.Channels.Mail Namespace

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

This namespace provides classes to support programming applications using the Exchange Server mail transport based on Windows Communication Foundation (WCF). This namespace supports programming on the .NET Compact Framework and on the desktop.

The WCF Exchange Server mail transport is an e-mail-based transport that provides a queued service using WCF endpoints. The Microsoft.ServiceModel.Channels.Mail namespace provides all the common functions shared among the transport-specific implementations, including the Windows Mobile mail transport and the Microsoft Exchange Web services mail transport.

Note

The APIs in this namespace are shipped with the .NET Compact Framework 3.5, but require either the .NET Compact Framework 3.5 or the .NET Framework version 3.0 or later at runtime.

Classes

  Class Description
Public class MailBindingBase Defines the core behavior of the MailBindingBase class and provides a base for mail binding derivations.
Public class MailMessageSecurity Contains properties that are used to configure SOAP message security for the mail binding.
Public class MailSecurity Contains methods for configuring channel security options for the mail binding.
Public class MailTransport Defines the core behavior of the MailTransport class and provides a base for mail transport derivations.
Public class MailTransportBindingElementBase Defines the core behavior of the MailTransportBindingElementBase class and provides a base for mail transport binding element derivations.
Public class MailUriHelper Provides helper functions for creating mail Uniform Resource Identifiers (URIs) or accessing data from mail URIs.

Enumerations

  Enumeration Description
Public enumeration MailSecurityMode Defines whether SOAP message security is enabled.
Public enumeration MessageContainerType Specifies how the message data is sent by the channel.