GraphClient

GraphClient class

Provides access to MS Exchange Server (Office365) by using REST API.

public abstract class GraphClient : IDisposable

Properties

Name Description
virtual MultipleServicesTokenProvider { get; set; } Gets or sets an object allows to retrieve OAuth access token.
virtual Proxy { get; set; } Gets or sets data to proxy access to Exchange server.
virtual Resource { get; set; } Gets or sets resource type.
virtual ResourceId { get; set; } Gets or sets resource id. For instance for users it may be user principal name (UPN) or user id
virtual TenantId { get; set; } Gets or sets tenant identifier
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).
virtual TokenProvider { get; set; } Gets or sets an object allows to retrieve OAuth access token.

Methods

Name Description
virtual Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
static GetClient(IMultipleServicesTokenProvider, string) Initializes a new instance of the GraphClient based class
static GetClient(ITokenProvider, string) Initializes a new instance of the GraphClient based class

See Also