FunctionInvokingChatClient.CurrentContext 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 FunctionInvocationContext for the current function invocation.
public: static property Microsoft::Extensions::AI::FunctionInvocationContext ^ CurrentContext { public:
Microsoft::Extensions::AI::FunctionInvocationContext ^ get(); protected:
void set(Microsoft::Extensions::AI::FunctionInvocationContext ^ value); };
public static Microsoft.Extensions.AI.FunctionInvocationContext? CurrentContext { get; protected set; }
static member CurrentContext : Microsoft.Extensions.AI.FunctionInvocationContext with get, set
Public Shared Property CurrentContext As FunctionInvocationContext
Property Value
Remarks
This value flows across async calls.