AIAgent.CurrentRunContext Property
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.
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.