IStorage.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.
Clears the grain state.
public System.Threading.Tasks.Task ClearStateAsync ();
abstract member ClearStateAsync : unit -> System.Threading.Tasks.Task
Public Function ClearStateAsync () As Task
Returns
A Task representing the operation.
Remarks
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 the Etag does not match what is present in the backing store, then this operation will fail; Set Etag to null
to indicate "always delete".