IStorageFaultGrain.AddFaultOnWrite 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
將參考的細微性寫入狀態寫入儲存體提供者時,新增要擲回的儲存體例外狀況
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