Share via


ComputerActionKeyPress Constructors

Definition

Overloads

ComputerActionKeyPress()

Source:
ComputerActionKeyPress.cs

Initializes a new instance of ComputerActionKeyPress for deserialization.

public ComputerActionKeyPress();
Public Sub New ()

Applies to

ComputerActionKeyPress(IEnumerable<String>)

Source:
ComputerActionKeyPress.cs

Initializes a new instance of ComputerActionKeyPress.

public ComputerActionKeyPress(System.Collections.Generic.IEnumerable<string> keys);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress : seq<string> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress
Public Sub New (keys As IEnumerable(Of String))

Parameters

keys
IEnumerable<String>

The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.

Exceptions

keys is null.

Applies to

ComputerActionKeyPress(ComputerActionType, IDictionary<String,BinaryData>, IList<String>)

Source:
ComputerActionKeyPress.cs

Initializes a new instance of ComputerActionKeyPress.

public ComputerActionKeyPress(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, System.Collections.Generic.IList<string> keys);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionType * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IList<string> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionKeyPress
Public Sub New (type As ComputerActionType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), keys As IList(Of String))

Parameters

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

keys
IList<String>

The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.

Applies to