共用方式為


DynamoDBGrainStorage.ClearStateAsync 方法

定義

多載

ClearStateAsync(String, GrainReference, IGrainState)

清除/刪除此儲存體提供者的狀態資料函式。

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

清除/刪除此儲存體提供者的狀態資料函式。

ClearStateAsync(String, GrainReference, IGrainState)

來源:
DynamoDBGrainStorage.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 ,則會刪除/移除此粒紋的資料表資料列,否則會以預設/Null 值覆寫來清除資料表資料列。

適用於

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

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

清除/刪除此儲存體提供者的狀態資料函式。

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 ,則會刪除/移除此粒紋的資料表資料列,否則會以預設/Null 值覆寫來清除資料表資料列。

適用於