共用方式為


MemoryGrainStorage.ReadStateAsync 方法

定義

多載

ReadStateAsync(String, GrainReference, IGrainState)

此儲存體提供者的讀取狀態資料函式。

ReadStateAsync<T>(String, GrainId, IGrainState<T>)

讀取此儲存體實例的資料函式。

ReadStateAsync(String, GrainReference, IGrainState)

來源:
MemoryStorage.cs

此儲存體提供者的讀取狀態資料函式。

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

參數

grainType
String
grainReference
GrainReference
grainState
IGrainState

傳回

實作

適用於

ReadStateAsync<T>(String, GrainId, IGrainState<T>)

來源:
MemoryStorage.cs
來源:
MemoryStorage.cs
來源:
MemoryStorage.cs
來源:
MemoryStorage.cs

讀取此儲存體實例的資料函式。

public virtual System.Threading.Tasks.Task ReadStateAsync<T> (string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState);
abstract member ReadStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
override this.ReadStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
Public Overridable Function ReadStateAsync(Of T) (grainType As String, grainId As GrainId, grainState As IGrainState(Of T)) As Task

類型參數

T

細微性狀態類型。

參數

grainType
String
grainId
GrainId

粒紋識別碼

grainState
IGrainState<T>

要填入此細微性的狀態資料物件。

傳回

指定細微性上讀取作業的完成承諾。

實作

適用於