Share via


AIAgentBinding Constructors

Definition

Overloads

Name Description
AIAgentBinding(AIAgentBinding)
AIAgentBinding(AIAgent, AIAgentHostOptions)

Represents the workflow binding details for an AI agent, including configuration options for agent hosting behaviour.

AIAgentBinding(AIAgent, Boolean)

Initializes a new instance of the AIAgentBinding class, associating it with the specified AI agent and optionally enabling event emission.

AIAgentBinding(AIAgentBinding)

protected AIAgentBinding(Microsoft.Agents.AI.Workflows.AIAgentBinding original);
Protected Sub New (original As AIAgentBinding)

Parameters

original
AIAgentBinding

Applies to

AIAgentBinding(AIAgent, AIAgentHostOptions)

Represents the workflow binding details for an AI agent, including configuration options for agent hosting behaviour.

public AIAgentBinding(Microsoft.Agents.AI.AIAgent Agent, Microsoft.Agents.AI.Workflows.AIAgentHostOptions? Options = default);
new Microsoft.Agents.AI.Workflows.AIAgentBinding : Microsoft.Agents.AI.AIAgent * Microsoft.Agents.AI.Workflows.AIAgentHostOptions -> Microsoft.Agents.AI.Workflows.AIAgentBinding
Public Sub New (Agent As AIAgent, Optional Options As AIAgentHostOptions = Nothing)

Parameters

Agent
AIAgent

The AI agent.

Options
AIAgentHostOptions

The options for configuring the AI agent host.

Applies to

AIAgentBinding(AIAgent, Boolean)

Initializes a new instance of the AIAgentBinding class, associating it with the specified AI agent and optionally enabling event emission.

public AIAgentBinding(Microsoft.Agents.AI.AIAgent agent, bool emitEvents = false);
new Microsoft.Agents.AI.Workflows.AIAgentBinding : Microsoft.Agents.AI.AIAgent * bool -> Microsoft.Agents.AI.Workflows.AIAgentBinding
Public Sub New (agent As AIAgent, Optional emitEvents As Boolean = false)

Parameters

agent
AIAgent

The AI agent.

emitEvents
Boolean

Specifies whether the agent should emit events. If null, the default behavior is applied.

Applies to