共用方式為


DynamoDBGrainStorage.WriteStateAsync 方法

定義

多載

WriteStateAsync(String, GrainReference, IGrainState)

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

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

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

WriteStateAsync(String, GrainReference, IGrainState)

來源:
DynamoDBGrainStorage.cs

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

public 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 Function WriteStateAsync (grainType As String, grainReference As GrainReference, grainState As IGrainState) As Task

參數

grainType
String
grainReference
GrainReference
grainState
IGrainState

傳回

實作

適用於

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

來源:
DynamoDBGrainStorage.cs
來源:
DynamoDBGrainStorage.cs
來源:
DynamoDBGrainStorage.cs
來源:
DynamoDBGrainStorage.cs

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

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

類型參數

T

參數

grainType
String
grainId
GrainId
grainState
IGrainState<T>

傳回

實作

適用於