EWSClientGetEWSClient Method (String, String, String, WebProxy) |
Initializes a new instance of the
EWSClient based class
Namespace:
Aspose.Email.Clients.Exchange.WebService
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static IEWSClient GetEWSClient(
string mailboxUri,
string username,
string password,
WebProxy proxy
)
Public Shared Function GetEWSClient (
mailboxUri As String,
username As String,
password As String,
proxy As WebProxy
) As IEWSClient
public:
static IEWSClient^ GetEWSClient(
String^ mailboxUri,
String^ username,
String^ password,
WebProxy^ proxy
)
static member GetEWSClient :
mailboxUri : string *
username : string *
password : string *
proxy : WebProxy -> IEWSClient
Parameters
- mailboxUri
- Type: SystemString
The URI of mailbox - username
- Type: SystemString
The username - password
- Type: SystemString
The password - proxy
- Type: System.NetWebProxy
Contains HTTP proxy settings
Return Value
Type:
IEWSClientInstance of the class based on the
EWSClient class.
See Also