GetEWSClient

EWSClient.GetEWSClient method (1 of 8)

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


EWSClient.GetEWSClient method (2 of 8)

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


EWSClient.GetEWSClient method (3 of 8)

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


EWSClient.GetEWSClient method (4 of 8)

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


EWSClient.GetEWSClient method (5 of 8)

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


EWSClient.GetEWSClient method (6 of 8)

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


EWSClient.GetEWSClient method (7 of 8)

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


EWSClient.GetEWSClient method (8 of 8)

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