你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LocalShellToolCallItemParam Constructors

Definition

Overloads

LocalShellToolCallItemParam()

Source:
LocalShellToolCallItemParam.cs

Initializes a new instance of LocalShellToolCallItemParam for deserialization.

public LocalShellToolCallItemParam();
Public Sub New ()

Applies to

LocalShellToolCallItemParam(String, LocalShellExecAction)

Source:
LocalShellToolCallItemParam.cs

Initializes a new instance of LocalShellToolCallItemParam.

public LocalShellToolCallItemParam(string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemParam : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemParam
Public Sub New (callId As String, action As LocalShellExecAction)

Parameters

callId
String

The unique ID of the local shell tool call generated by the model.

Exceptions

callId or action is null.

Applies to

LocalShellToolCallItemParam(ItemType, IDictionary<String,BinaryData>, String, LocalShellExecAction)

Source:
LocalShellToolCallItemParam.cs

Initializes a new instance of LocalShellToolCallItemParam.

public LocalShellToolCallItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string callId, Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellExecAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellToolCallItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), callId As String, action As LocalShellExecAction)

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

callId
String

The unique ID of the local shell tool call generated by the model.

Applies to