ComputerUsePreviewTool 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
| Name | Description |
|---|---|
| ComputerUsePreviewTool() |
Initializes a new instance of ComputerUsePreviewTool for deserialization. |
| ComputerUsePreviewTool(ComputerUsePreviewToolEnvironment, Int32, Int32) |
Initializes a new instance of ComputerUsePreviewTool. |
| ComputerUsePreviewTool(ToolType, IDictionary<String,BinaryData>, ComputerUsePreviewToolEnvironment, Int32, Int32) |
Initializes a new instance of ComputerUsePreviewTool. |
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.