Share via


Executor(String, ExecutorOptions, Boolean) Constructor

Definition

Initialize the executor with a unique identifier

protected Executor(string id, Microsoft.Agents.AI.Workflows.ExecutorOptions? options = default, bool declareCrossRunShareable = false);
new Microsoft.Agents.AI.Workflows.Executor : string * Microsoft.Agents.AI.Workflows.ExecutorOptions * bool -> Microsoft.Agents.AI.Workflows.Executor
Protected Sub New (id As String, Optional options As ExecutorOptions = Nothing, Optional declareCrossRunShareable As Boolean = false)

Parameters

id
String

A unique identifier for the executor.

options
ExecutorOptions

Configuration options for the executor. If null, default options will be used.

declareCrossRunShareable
Boolean

Declare that this executor may be used simultaneously by multiple runs safely.

Applies to