FoundryStateStore.UpdateAsync Method

Definition

Updates the bound store's mutable metadata (description / tags).

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

Parameters

update
StateStoreUpdateOptions

The metadata changes to apply.

cancellationToken
CancellationToken

A cancellation token.

Returns

The updated store descriptor.

Applies to