共用方式為


IStorageFaultGrain.AddFaultOnWrite 方法

定義

多載

AddFaultOnWrite(GrainId, Exception)

將參考的細微性寫入狀態寫入儲存體提供者時,新增要擲回的儲存體例外狀況

AddFaultOnWrite(GrainReference, Exception)

將參考的細微性寫入狀態寫入儲存體提供者時,新增要擲回的儲存體例外狀況

AddFaultOnWrite(GrainId, Exception)

將參考的細微性寫入狀態寫入儲存體提供者時,新增要擲回的儲存體例外狀況

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)

來源:
IStorageFaultGrain.cs

將參考的細微性寫入狀態寫入儲存體提供者時,新增要擲回的儲存體例外狀況

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

傳回

適用於