MemoryGrainStorageWithLatency.ClearStateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ClearStateAsync(String, GrainReference, IGrainState) |
刪除/清除此儲存體提供者的狀態資料函式。 |
ClearStateAsync<T>(String, GrainId, IGrainState<T>) |
刪除/清除此儲存體提供者的狀態資料函式。 |
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
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
傳回
實作
適用於
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>