Share via


AgentId Constructors

Definition

Overloads

Name Description
AgentId()

Initializes a new instance of AgentId for deserialization.

AgentId(String, String)

Initializes a new instance of AgentId.

AgentId(AgentIdType, String, String, IDictionary<String,BinaryData>)

Initializes a new instance of AgentId.

AgentId()

Source:
AgentId.cs

Initializes a new instance of AgentId for deserialization.

public AgentId();
Public Sub New ()

Applies to

AgentId(String, String)

Source:
AgentId.cs

Initializes a new instance of AgentId.

public AgentId(string name, string version);
new Azure.AI.AgentServer.Contracts.Generated.Agents.AgentId : string * string -> Azure.AI.AgentServer.Contracts.Generated.Agents.AgentId
Public Sub New (name As String, version As String)

Parameters

name
String

The name of the agent.

version
String

The version identifier of the agent.

Exceptions

name or version is null.

Applies to

AgentId(AgentIdType, String, String, IDictionary<String,BinaryData>)

Source:
AgentId.cs

Initializes a new instance of AgentId.

public AgentId(Azure.AI.AgentServer.Contracts.Generated.Agents.AgentIdType type, string name, string version, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.Agents.AgentId : Azure.AI.AgentServer.Contracts.Generated.Agents.AgentIdType * string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.Agents.AgentId
Public Sub New (type As AgentIdType, name As String, version As String, serializedAdditionalRawData As IDictionary(Of String, BinaryData))

Parameters

name
String

The name of the agent.

version
String

The version identifier of the agent.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

Applies to