Share via


AIAgent.CurrentRunContext Property

Definition

Gets or sets the AgentRunContext for the current agent run.

public static Microsoft.Agents.AI.AgentRunContext? CurrentRunContext { get; protected set; }
static member CurrentRunContext : Microsoft.Agents.AI.AgentRunContext with get, set
Public Shared Property CurrentRunContext As AgentRunContext

Property Value

Remarks

This value flows across async calls.

Applies to