PersistentAgentsClient 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
| PersistentAgentsClient() | |
| PersistentAgentsClient(String, TokenCredential) |
Initializes a new instance of AzureAIClient. |
| PersistentAgentsClient(String, TokenCredential, PersistentAgentsAdministrationClientOptions) |
Initializes a new instance of AzureAIClient. |
PersistentAgentsClient()
- Source:
- PersistentAgentsClient.cs
- Source:
- PersistentAgentsClient.cs
protected PersistentAgentsClient();
Protected Sub New ()
Applies to
PersistentAgentsClient(String, TokenCredential)
- Source:
- PersistentAgentsClient.cs
- Source:
- PersistentAgentsClient.cs
Initializes a new instance of AzureAIClient.
public PersistentAgentsClient(string endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.Agents.Persistent.PersistentAgentsClient : string * Azure.Core.TokenCredential -> Azure.AI.Agents.Persistent.PersistentAgentsClient
Public Sub New (endpoint As String, credential As TokenCredential)
Parameters
- endpoint
- String
The Azure AI Foundry project endpoint, in the form https://<aiservices-id>.services.ai.azure.com/api/projects/<project-name>
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint or credential is null.
is an empty string, and was expected to be non-empty.
Applies to
PersistentAgentsClient(String, TokenCredential, PersistentAgentsAdministrationClientOptions)
- Source:
- PersistentAgentsClient.cs
- Source:
- PersistentAgentsClient.cs
Initializes a new instance of AzureAIClient.
public PersistentAgentsClient(string endpoint, Azure.Core.TokenCredential credential, Azure.AI.Agents.Persistent.PersistentAgentsAdministrationClientOptions options);
new Azure.AI.Agents.Persistent.PersistentAgentsClient : string * Azure.Core.TokenCredential * Azure.AI.Agents.Persistent.PersistentAgentsAdministrationClientOptions -> Azure.AI.Agents.Persistent.PersistentAgentsClient
Public Sub New (endpoint As String, credential As TokenCredential, options As PersistentAgentsAdministrationClientOptions)
Parameters
- endpoint
- String
The Azure AI Foundry project endpoint, in the form https://<aiservices-id>.services.ai.azure.com/api/projects/<project-name>
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
The options for configuring the client.
Exceptions
endpoint, or credential is null.
is an empty string, and was expected to be non-empty.