Sprog

FoundryStateStore.GetAsync(CancellationToken) Method

Definition

Fetches the bound store's own descriptor.

public virtual System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Storage.StateStore?> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Storage.StateStore>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.AgentServer.Core.Storage.StateStore>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of StateStore)

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

The store descriptor, or null if the store does not exist.

Applies to