IStorage<TState>.ClearStateAsync 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.
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