Edit

Share via


ProviderExtensions.GetBetaClient(IProvider) Method

Definition

Gets a GraphServiceClient instance based on the current GlobalProvider, but configured for the beta endpoint.

public static Microsoft.Graph.GraphServiceClient GetBetaClient(this CommunityToolkit.Authentication.IProvider provider);
static member GetBetaClient : CommunityToolkit.Authentication.IProvider -> Microsoft.Graph.GraphServiceClient
<Extension()>
Public Function GetBetaClient (provider As IProvider) As GraphServiceClient

Parameters

provider
IProvider

The provider for authenticating Graph calls.

Returns

Microsoft.Graph.GraphServiceClient

A GraphServiceClient instance configured for the beta endpoint.

Applies to