EWSClient.GetEWSClient
GetEWSClient(string, ICredentials)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, ICredentials credentials)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
credentials | ICredentials | Contains the credentials for authentication. |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(string, string, string)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, string username, string password)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
username | String | The username |
password | String | The password |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(string, string, string, WebProxy)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, string username, string password,
WebProxy proxy)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
username | String | The username |
password | String | The password |
proxy | WebProxy | Contains HTTP proxy settings |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(string, string, string, string)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, string username, string password,
string domain)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
username | String | The username |
password | String | The password |
domain | String | The domain name |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(string, string, string, string, WebProxy)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, string username, string password,
string domain, WebProxy proxy)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
username | String | The username |
password | String | The password |
domain | String | The domain name |
proxy | WebProxy | Contains HTTP proxy settings |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(ExchangeVersion, string, ICredentials, WebProxy)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(ExchangeVersion serverVersion, string mailboxUri,
ICredentials credentials, WebProxy proxy)
Parameter | Type | Description |
---|---|---|
serverVersion | ExchangeVersion | Exchange server versions |
mailboxUri | String | The URI of mailbox |
credentials | ICredentials | Contains the credentials for authentication. |
proxy | WebProxy | Contains HTTP proxy settings |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- enum ExchangeVersion
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(ExchangeVersion, bool, string, string, ICredentials, WebProxy)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(ExchangeVersion serverVersion,
bool formbasedAuthenticationRequired, string formbasedAuthenticationLocation,
string mailboxUri, ICredentials credentials, WebProxy proxy)
Parameter | Type | Description |
---|---|---|
serverVersion | ExchangeVersion | Exchange server versions |
formbasedAuthenticationRequired | Boolean | Set true if form-based authentication is required, otherwise set false. |
formbasedAuthenticationLocation | String | url for form-based authentication |
mailboxUri | String | The URI of mailbox |
credentials | ICredentials | Contains the credentials for authentication. |
proxy | WebProxy | Contains HTTP proxy settings |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- enum ExchangeVersion
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
GetEWSClient(string, ICredentials, WebProxy)
Initializes a new instance of the EWSClient
based class
public static IEWSClient GetEWSClient(string mailboxUri, ICredentials credentials, WebProxy proxy)
Parameter | Type | Description |
---|---|---|
mailboxUri | String | The URI of mailbox |
credentials | ICredentials | Contains the credentials for authentication. |
proxy | WebProxy | Contains HTTP proxy settings |
Return Value
Instance of the class based on the EWSClient
class.
See Also
- interface IEWSClient
- class EWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email