AzureTableGrainStorage.ClearStateAsync 方法

定义

重载

ClearStateAsync(String, GrainReference, IGrainState)

清除/删除此存储提供程序的状态数据函数。

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

清除/删除此存储提供程序的状态数据函数。

ClearStateAsync(String, GrainReference, IGrainState)

Source:
AzureTableStorage.cs

清除/删除此存储提供程序的状态数据函数。

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

参数

grainType
String
grainReference
GrainReference
grainState
IGrainState

返回

实现

注解

DeleteStateOnClear如果 设置为 true ,则将删除/删除此 grain 的表行,否则将使用默认 /null 值覆盖来清除表行。

适用于

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

清除/删除此存储提供程序的状态数据函数。

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

类型参数

T

参数

grainType
String
grainId
GrainId
grainState
IGrainState<T>

返回

实现

注解

DeleteStateOnClear如果 设置为 true ,则将删除/删除此 grain 的表行,否则将使用默认 /null 值覆盖来清除表行。

适用于