ActivityClient.GetClient

GetClient(IMultipleServicesTokenProvider, string)

Initializes a new instance of the ActivityClient based class

public static IActivityClient GetClient(IMultipleServicesTokenProvider tokenProvider, 
    string tenantId)
ParameterTypeDescription
tokenProviderIMultipleServicesTokenProviderToken provider allows to retrieve OAuth access token
tenantIdStringA tenant is representation of an organization. It’s a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365.

Return Value

Returns IActivityClient object

See Also


GetClient(ITokenProvider, string)

Initializes a new instance of the ActivityClient based class

public static IActivityClient GetClient(ITokenProvider tokenProvider, string tenantId)
ParameterTypeDescription
tokenProviderITokenProviderToken provider allows to retrieve OAuth access token
tenantIdStringA tenant is representation of an organization. It’s a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365.

Return Value

Returns IActivityClient object

See Also