CodeConfiguration(String, IEnumerable<String>) Constructor
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.
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.