FaultInjectionGrainStorage.ClearStateAsync 方法

定义

重载

ClearStateAsync(String, GrainReference, IGrainState)

如果提供异常,则为错误,否则通过 调用修饰的存储提供程序。

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

如果提供异常,则为错误,否则通过 调用修饰的存储提供程序。

ClearStateAsync(String, GrainReference, IGrainState)

Source:
FaultInjectionStorageProvider.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

此 grain 的类型 [完全限定的类名]

grainReference
GrainReference

此 grain 的 Grain 引用对象。

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>

返回

对指定粒度执行删除操作的完成承诺。

实现

适用于