共用方式為


IStorageFaultGrain.AddFaultOnRead 方法

定義

多載

AddFaultOnRead(GrainId, Exception)

從儲存體提供者參考的粒紋讀取狀態時,加入要擲回的儲存體例外狀況

AddFaultOnRead(GrainReference, Exception)

從儲存體提供者參考的粒紋讀取狀態時,加入要擲回的儲存體例外狀況

AddFaultOnRead(GrainId, Exception)

從儲存體提供者參考的粒紋讀取狀態時,加入要擲回的儲存體例外狀況

public System.Threading.Tasks.Task AddFaultOnRead (Orleans.Runtime.GrainId grainId, Exception exception);
abstract member 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)

來源:
IStorageFaultGrain.cs

從儲存體提供者參考的粒紋讀取狀態時,加入要擲回的儲存體例外狀況

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

參數

grainReference
GrainReference
exception
Exception

傳回

適用於