StorageFaultGrain.AddFaultOnWrite 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
override this.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:
- StorageFaultGrain.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
override this.AddFaultOnWrite : Orleans.Runtime.GrainReference * Exception -> System.Threading.Tasks.Task
Public Function AddFaultOnWrite (grainReference As GrainReference, exception As Exception) As Task
参数
- grainReference
- GrainReference
- exception
- Exception