IStorageFaultGrain.AddFaultOnWrite 方法

定义

重载

AddFaultOnWrite(GrainId, Exception)

添加在引用的 grain 将状态写入存储提供程序时引发的存储异常

AddFaultOnWrite(GrainReference, Exception)

添加在引用的 grain 将状态写入存储提供程序时引发的存储异常

AddFaultOnWrite(GrainId, Exception)

添加在引用的 grain 将状态写入存储提供程序时引发的存储异常

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

参数

grainId
GrainId
exception
Exception

返回

任务。

适用于

AddFaultOnWrite(GrainReference, Exception)

Source:
IStorageFaultGrain.cs

添加在引用的 grain 将状态写入存储提供程序时引发的存储异常

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

参数

grainReference
GrainReference
exception
Exception

返回

适用于