共用方式為


MemoryStorage.WriteStateAsync(String, GrainReference, IGrainState) 方法

定義

寫入此儲存體提供者的狀態資料函式。

public virtual System.Threading.Tasks.Task WriteStateAsync (string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState);
abstract member WriteStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
override this.WriteStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
Public Overridable Function WriteStateAsync (grainType As String, grainReference As GrainReference, grainState As IGrainState) As Task

參數

grainType
String
grainReference
GrainReference
grainState
IGrainState

傳回

實作

適用於