Share via


CodeConfiguration(String, IEnumerable<String>) Constructor

Definition

Initializes a new instance of CodeConfiguration.

public CodeConfiguration(string runtime, System.Collections.Generic.IEnumerable<string> entryPoint);
new Azure.AI.Projects.Agents.CodeConfiguration : string * seq<string> -> Azure.AI.Projects.Agents.CodeConfiguration
Public Sub New (runtime As String, entryPoint As IEnumerable(Of String))

Parameters

runtime
String

The runtime identifier for code execution (e.g., 'python_3_11', 'python_3_12', 'python_3_13').

entryPoint
IEnumerable<String>

The entry point command and arguments for the code execution.

Exceptions

runtime or entryPoint is null.

Applies to