共用方式為


StorageFaultGrain.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
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)

來源:
StorageFaultGrain.cs

將參考的粒紋寫入狀態新增至儲存體提供者時要擲回的儲存體例外狀況

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

傳回

實作

適用於