StorageFaultGrain.AddFaultOnRead 方法

定义

重载

AddFaultOnRead(GrainId, Exception)

添加在引用的 grain 从存储提供程序读取状态时引发的存储异常

AddFaultOnRead(GrainReference, Exception)

添加在引用的 grain 从存储提供程序读取状态时引发的存储异常

AddFaultOnRead(GrainId, Exception)

添加在引用的 grain 从存储提供程序读取状态时引发的存储异常

public System.Threading.Tasks.Task AddFaultOnRead (Orleans.Runtime.GrainId grainId, Exception exception);
abstract member AddFaultOnRead : Orleans.Runtime.GrainId * Exception -> System.Threading.Tasks.Task
override this.AddFaultOnRead : Orleans.Runtime.GrainId * Exception -> System.Threading.Tasks.Task
Public Function AddFaultOnRead (grainId As GrainId, exception As Exception) As Task

参数

grainId
GrainId
exception
Exception

返回

任务。

实现

适用于

AddFaultOnRead(GrainReference, Exception)

Source:
StorageFaultGrain.cs

添加在引用的 grain 从存储提供程序读取状态时引发的存储异常

public System.Threading.Tasks.Task AddFaultOnRead (Orleans.Runtime.GrainReference grainReference, Exception exception);
abstract member AddFaultOnRead : Orleans.Runtime.GrainReference * Exception -> System.Threading.Tasks.Task
override this.AddFaultOnRead : Orleans.Runtime.GrainReference * Exception -> System.Threading.Tasks.Task
Public Function AddFaultOnRead (grainReference As GrainReference, exception As Exception) As Task

参数

grainReference
GrainReference
exception
Exception

返回

实现

适用于