GraphClient

GraphClient class

Provides access to MS Graph by using REST API.

Constructors

NameDescription
GraphClient (2 overloads)Initializes a new instance of the GraphClient class.

Methods

NameDescription
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
get_ByteArrayPoolGets byte array pool
get_EndPointGets Microsoft Graph REST API endpoint. If not specified, the default is “https://graph.microsoft.com”.
get_MultipleServicesTokenProviderGets an object allows to retrieve OAuth access token.
get_ProxyGets data to proxy access to Exchange server.
get_ResourceGets resource type.
get_ResourceIdGets resource id. For instance for users it may be user principal name (UPN) or user id
get_TenantIdGets tenant identifier
get_TimeoutGets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
get_TokenProviderGets an object allows to retrieve OAuth access token.
get_WebRequestCreate
GetClient (2 overloads)Initializes a new instance of the GraphClient based class
set_EndPointSets Microsoft Graph REST API endpoint. If not specified, the default is “https://graph.microsoft.com”.
set_MultipleServicesTokenProviderSets an object allows to retrieve OAuth access token.
set_ProxySets data to proxy access to Exchange server.
set_ResourceSets resource type.
set_ResourceIdSets resource id. For instance for users it may be user principal name (UPN) or user id
set_TenantIdSets tenant identifier
set_TimeoutSets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
set_TokenProviderSets an object allows to retrieve OAuth access token.
set_WebRequestCreate
DEFAULT_TIMEOUTThe default value is 100,000 milliseconds (100 seconds).