[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides helper functions for creating mail Uniform Resource Identifiers (URIs) or accessing data from mail URIs.
Assembly: Microsoft.ServiceModel.Channels.Mail (in Microsoft.ServiceModel.Channels.Mail.dll)
The mail URI includes a channel name and an e-mail address. The mail URI is based on the following format:
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.
bpc = new BindingParameterCollection(); factory = binding.BuildChannelFactory<IOutputChannel>(bpc); listener = binding.BuildChannelListener<IInputChannel>(MailUriHelper.CreateUri(ChannelName, ""), bpc); factory.Open(); output = factory.CreateChannel(new EndpointAddress(MailUriHelper.Create(ChannelName, DestinationEmailAddress)));
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.