LocalShellExecAction Constructor

Definition

Initializes a new instance of LocalShellExecAction.

public LocalShellExecAction(System.Collections.Generic.IEnumerable<string> command, System.Collections.Generic.IDictionary<string,string> env);
new Azure.AI.AgentServer.Responses.Models.LocalShellExecAction : seq<string> * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.AgentServer.Responses.Models.LocalShellExecAction
Public Sub New (command As IEnumerable(Of String), env As IDictionary(Of String, String))

Parameters

command
IEnumerable<String>

The command to run.

env
IDictionary<String,String>

Environment variables to set for the command.

Exceptions

command or env is null.

Applies to