Redigera

Dela via


IStorage.WriteStateAsync Method

Definition

Writes grain state to storage.

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

Returns

A Task representing the operation.

Remarks

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".

Applies to