This documentation is archived and is not being maintained.

Microsoft.ServiceModel.Channels.Mail Namespace

Visual Studio 2008

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.


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.

Public classMailBindingBaseDefines the core behavior of the MailBindingBase class and provides a base for mail binding derivations.
Public classMailMessageSecurityContains properties that are used to configure SOAP message security for the mail binding.
Public classMailSecurityContains methods for configuring channel security options for the mail binding.
Public classMailTransportDefines the core behavior of the MailTransport class and provides a base for mail transport derivations.
Public classMailTransportBindingElementBaseDefines the core behavior of the MailTransportBindingElementBase class and provides a base for mail transport binding element derivations.
Public classMailUriHelperProvides helper functions for creating mail Uniform Resource Identifiers (URIs) or accessing data from mail URIs.

Public enumerationMailSecurityModeDefines whether SOAP message security is enabled.
Public enumerationMessageContainerTypeSpecifies how the message data is sent by the channel.