FoundryStateStore.GetAsync(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.
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.