Share via


AgentReference Constructors

Definition

Overloads

Name Description
AgentReference()

Initializes a new instance of AgentReference for deserialization.

AgentReference(String)

Initializes a new instance of AgentReference.

AgentReference(AgentReferenceType, String, String, IDictionary<String,BinaryData>)

Initializes a new instance of AgentReference.

AgentReference()

Source:
AgentReference.cs

Initializes a new instance of AgentReference for deserialization.

public AgentReference();
Public Sub New ()

Applies to

AgentReference(String)

Source:
AgentReference.cs

Initializes a new instance of AgentReference.

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

Parameters

name
String

The name of the agent.

Exceptions

name is null.

Applies to

AgentReference(AgentReferenceType, String, String, IDictionary<String,BinaryData>)

Source:
AgentReference.cs

Initializes a new instance of AgentReference.

public AgentReference(Azure.AI.AgentServer.Contracts.Generated.Agents.AgentReferenceType type, string name, string version, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.Agents.AgentReference : Azure.AI.AgentServer.Contracts.Generated.Agents.AgentReferenceType * string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.Agents.AgentReference
Public Sub New (type As AgentReferenceType, 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