共用方式為


IStorageProvider.ClearStateAsync(String, GrainReference, IGrainState) 方法

定義

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

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
Public Function ClearStateAsync (grainType As String, grainReference As GrainReference, grainState As IGrainState) As Task

參數

grainType
String

此細微性的類型 [完整類別名稱]

grainReference
GrainReference

此粒紋的細微性參考物件。

grainState
IGrainState

此粒紋的最後已知狀態資料物件複本。

傳回

指定細微性上的 Delete 作業完成承諾。

適用於