Edit

Share via


IStorage<TState>.WriteStateAsync Method

Definition

Async method to cause write of the current grain state data into backing store. If Etags do not match, then this operation will fail; Set Etag = null to indicate "always overwrite".

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

Returns

Applies to