AdoNetGrainStorage.WriteStateAsync 方法

定义

重载

WriteStateAsync(String, GrainReference, IGrainState)

为此存储提供程序写入状态数据函数。

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

为此存储提供程序写入状态数据函数。

WriteStateAsync(String, GrainReference, IGrainState)

Source:
AdoNetGrainStorage.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>)

Source:
AdoNetGrainStorage.cs
Source:
AdoNetGrainStorage.cs
Source:
AdoNetGrainStorage.cs
Source:
AdoNetGrainStorage.cs

为此存储提供程序写入状态数据函数。

public System.Threading.Tasks.Task WriteStateAsync<T> (string grainType, Orleans.Runtime.GrainId grainReference, 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, grainReference As GrainId, grainState As IGrainState(Of T)) As Task

类型参数

T

参数

grainType
String
grainReference
GrainId
grainState
IGrainState<T>

返回

实现

适用于