DefaultFoundryToolCatalog.GetUserContextAsync(CancellationToken) Method
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 the user context for the current request from the user provider.
protected override System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Models.UserInfo?> GetUserContextAsync(System.Threading.CancellationToken cancellationToken);
override this.GetUserContextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Tools.Models.UserInfo>
Protected Overrides Function GetUserContextAsync (cancellationToken As CancellationToken) As Task(Of UserInfo)
Parameters
- cancellationToken
- CancellationToken