共用方式為


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

傳回

實作

備註

DeleteStateOnClear如果 設定 true 為 ,則會刪除/移除此細微性的資料表資料列,否則會覆寫預設 /Null 值來清除資料表資料列。

適用於