다음을 통해 공유


ExchangeWebServiceMailBinding Constructor (Uri, ICredentials)

[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 ExchangeWebServiceMailBinding class using the specified server name and credentials.

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

Syntax

'Declaration
Public Sub New ( _
    serverAddress As Uri, _
    credentials As ICredentials _
)
'Usage
Dim serverAddress As Uri
Dim credentials As ICredentials

Dim instance As New ExchangeWebServiceMailBinding(serverAddress, _
    credentials)
public ExchangeWebServiceMailBinding(
    Uri serverAddress,
    ICredentials credentials
)
public:
ExchangeWebServiceMailBinding(
    Uri^ serverAddress, 
    ICredentials^ credentials
)
new : 
        serverAddress:Uri * 
        credentials:ICredentials -> ExchangeWebServiceMailBinding

Parameters

  • serverAddress
    Type: System.Uri
    An object that contains the address of the Exchange server (that is, the server that is running Microsoft Exchange Server). An example of an Exchange server address is "https://www.fabrikam.com/".

Remarks

The base class for this class is MailBindingBase.

.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

ExchangeWebServiceMailBinding Class

ExchangeWebServiceMailBinding Members

ExchangeWebServiceMailBinding Overload

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService Namespace