Compartilhar via


WindowsMobileMailBinding Constructor (MailSecurityMode)

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

Initializes a new instance of the WindowsMobileMailBinding class using the specified security mode.

Namespace:  Microsoft.ServiceModel.Channels.Mail.WindowsMobile
Assembly:  Microsoft.ServiceModel.Channels.Mail.WindowsMobile (in Microsoft.ServiceModel.Channels.Mail.WindowsMobile.dll)

Syntax

'Declaration
Public Sub New ( _
    mode As MailSecurityMode _
)
'Usage
Dim mode As MailSecurityMode

Dim instance As New WindowsMobileMailBinding(mode)
public WindowsMobileMailBinding(
    MailSecurityMode mode
)
public:
WindowsMobileMailBinding(
    MailSecurityMode mode
)
new : 
        mode:MailSecurityMode -> WindowsMobileMailBinding

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

The MailSecurityMode enumeration is set to a value that is not supported.

.NET Framework Security

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

WindowsMobileMailBinding Class

WindowsMobileMailBinding Members

WindowsMobileMailBinding Overload

Microsoft.ServiceModel.Channels.Mail.WindowsMobile Namespace