Grain<TGrainState>.ReadStateAsync 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.
Reads grain state from backing store, updating State.
protected virtual System.Threading.Tasks.Task ReadStateAsync ();
abstract member ReadStateAsync : unit -> System.Threading.Tasks.Task
override this.ReadStateAsync : unit -> System.Threading.Tasks.Task
Protected Overridable Function ReadStateAsync () As Task
Returns
A Task representing the operation.
Remarks
Any previous contents of the grain state data will be overwritten.