Share via


AIProjectClient Constructors

Definition

Overloads

Name Description
AIProjectClient()

Initializes a new instance of AIProjectClient for mocking.

AIProjectClient(Uri, AuthenticationTokenProvider)

Initializes a new instance of AIProjectClient.

AIProjectClient(Uri, AuthenticationTokenProvider, AIProjectClientOptions)

Initializes a new instance of AIProjectClient.

AIProjectClient()

Source:
AIProjectClient.cs
Source:
AIProjectClient.cs

Initializes a new instance of AIProjectClient for mocking.

protected AIProjectClient();
Protected Sub New ()

Applies to

AIProjectClient(Uri, AuthenticationTokenProvider)

Source:
AIProjectClient.cs
Source:
AIProjectClient.cs

Initializes a new instance of AIProjectClient.

public AIProjectClient(Uri endpoint, System.ClientModel.AuthenticationTokenProvider tokenProvider);
new Azure.AI.Projects.AIProjectClient : Uri * System.ClientModel.AuthenticationTokenProvider -> Azure.AI.Projects.AIProjectClient
Public Sub New (endpoint As Uri, tokenProvider As AuthenticationTokenProvider)

Parameters

endpoint
Uri

Service endpoint.

tokenProvider
AuthenticationTokenProvider

A credential provider used to authenticate to the service.

Exceptions

endpoint or tokenProvider is null.

Applies to

AIProjectClient(Uri, AuthenticationTokenProvider, AIProjectClientOptions)

Source:
AIProjectClient.cs
Source:
AIProjectClient.cs

Initializes a new instance of AIProjectClient.

public AIProjectClient(Uri endpoint, System.ClientModel.AuthenticationTokenProvider tokenProvider, Azure.AI.Projects.AIProjectClientOptions options);
new Azure.AI.Projects.AIProjectClient : Uri * System.ClientModel.AuthenticationTokenProvider * Azure.AI.Projects.AIProjectClientOptions -> Azure.AI.Projects.AIProjectClient
Public Sub New (endpoint As Uri, tokenProvider As AuthenticationTokenProvider, options As AIProjectClientOptions)

Parameters

endpoint
Uri

Service endpoint.

tokenProvider
AuthenticationTokenProvider

A credential provider used to authenticate to the service.

options
AIProjectClientOptions

The options for configuring the client.

Exceptions

endpoint or tokenProvider is null.

Applies to