Class EWSClient

EWSClient class

Provides access to MS Exchange Server by using Exchange Web Services (EWS).

public abstract class EWSClient : ExchangeClientBase

Properties

NameDescription
virtual Credentials { get; set; }Gets or sets the credentials
LogFileName { get; set; }Gets or sets log file name
virtual MailboxUri { get; set; }Gets or sets the mailbox uri
virtual Proxy { get; set; }Gets or sets the proxy.
virtual Timeout { get; set; }Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
UseDateInLogFileName { get; set; }Gets or sets value which indicates if date has to be used in log file name.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
static GetEWSClient(string, ICredentials)Initializes a new instance of the EWSClient based class
static GetEWSClient(string, ICredentials, WebProxy)Initializes a new instance of the EWSClient based class
static GetEWSClient(string, string, string)Initializes a new instance of the EWSClient based class
static GetEWSClient(ExchangeVersion, string, ICredentials, WebProxy)Initializes a new instance of the EWSClient based class
static GetEWSClient(string, string, string, string)Initializes a new instance of the EWSClient based class
static GetEWSClient(string, string, string, WebProxy)Initializes a new instance of the EWSClient based class
static GetEWSClient(string, string, string, string, WebProxy)Initializes a new instance of the EWSClient based class
static GetEWSClient(ExchangeVersion, bool, string, string, ICredentials, WebProxy)Initializes a new instance of the EWSClient based class
static GetEwsClientAsync(string, ICredentials, WebProxy, CancellationToken)Initializes a new instance of the EWSClient based class

See Also