AIProjectClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.