FoundryStateStore.DeleteAsync(CancellationToken) Method

Definition

Deletes the bound store, cascading to every item under it.

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

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

The deleted-store marker.

Applies to