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

ComputerUsePreviewTool Constructors

Definition

Overloads

ComputerUsePreviewTool()

Source:
ComputerUsePreviewTool.cs

Initializes a new instance of ComputerUsePreviewTool for deserialization.

public ComputerUsePreviewTool();
Public Sub New ()

Applies to

ComputerUsePreviewTool(ComputerUsePreviewToolEnvironment, Int32, Int32)

Source:
ComputerUsePreviewTool.cs

Initializes a new instance of ComputerUsePreviewTool.

public ComputerUsePreviewTool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewToolEnvironment environment, int displayWidth, int displayHeight);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewToolEnvironment * int * int -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool
Public Sub New (environment As ComputerUsePreviewToolEnvironment, displayWidth As Integer, displayHeight As Integer)

Parameters

environment
ComputerUsePreviewToolEnvironment

The type of computer environment to control.

displayWidth
Int32

The width of the computer display.

displayHeight
Int32

The height of the computer display.

Applies to

ComputerUsePreviewTool(ToolType, IDictionary<String,BinaryData>, ComputerUsePreviewToolEnvironment, Int32, Int32)

Source:
ComputerUsePreviewTool.cs

Initializes a new instance of ComputerUsePreviewTool.

public ComputerUsePreviewTool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewToolEnvironment environment, int displayWidth, int displayHeight);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewToolEnvironment * int * int -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerUsePreviewTool
Public Sub New (type As ToolType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), environment As ComputerUsePreviewToolEnvironment, displayWidth As Integer, displayHeight As Integer)

Parameters

type
ToolType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

environment
ComputerUsePreviewToolEnvironment

The type of computer environment to control.

displayWidth
Int32

The width of the computer display.

displayHeight
Int32

The height of the computer display.

Applies to