Edit

Share via


IStorage<TState>.ClearStateAsync Method

Definition

Async method to cause the current grain state data to be cleared and reset. This will usually mean the state record is deleted from backing store, but the specific behavior is defined by the storage provider instance configured for this grain. If Etags do not match, then this operation will fail; Set Etag = null to indicate "always delete".

public System.Threading.Tasks.Task ClearStateAsync ();
abstract member ClearStateAsync : unit -> System.Threading.Tasks.Task
Public Function ClearStateAsync () As Task

Returns

Applies to