DynamoDBStorageProvider.ClearStateAsync 方法

定义

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

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

返回

实现

注解

如果设置为trueDeleteStateOnClear粒度的表行,则将删除/删除此粒度的表行,否则将通过覆盖默认/null 值清除表行。

适用于