Redigera

Dela via


Grain<TGrainState>.ReadStateAsync Method

Definition

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.

Applies to