[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 Windows Mobile powered devices.
Assembly: Microsoft.ServiceModel.Channels.Mail.WindowsMobile (in Microsoft.ServiceModel.Channels.Mail.WindowsMobile.dll)
'Declaration Public NotInheritable Class WindowsMobileMailTransport _ Inherits MailTransport 'Usage Dim instance As WindowsMobileMailTransport
public sealed class WindowsMobileMailTransport : MailTransport
public ref class WindowsMobileMailTransport sealed : public MailTransport
[<SealedAttribute>] type WindowsMobileMailTransport = class inherit MailTransport end
This class is used to manage the mail transport for Windows Mobile powered devices. The base class, MailBindingBase, implements most of the common functions such as configuring the message cache and the maximum number of retries.
The following example demonstrates how to use the WindowsMobileMailTransport class.
' For a desktop application, use ExchangeWebServiceMailBinding. binding = New WindowsMobileMailBinding() binding.MinimumAttachmentSize = 1024 ' Set lifetime to 1 day, 10 hours, 20 minutes, and 30 seconds. binding.TimeToLive = New TimeSpan(1, 10, 20, 30) binding.Transport.ReceiveRetryCount = 5
// For a desktop application, use ExchangeWebServiceMailBinding. binding = new WindowsMobileMailBinding(); binding.MinimumAttachmentSize = 1024; // Set lifetime to 1 day, 10 hours, 20 minutes, and 30 seconds. binding.TimeToLive = new TimeSpan(1, 10, 20, 30); binding.Transport.ReceiveRetryCount = 5;
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
.NET Compact Framework
Supported in: 3.5