Edit

Share via


IStorageFaultGrain.AddFaultOnWrite Method

Definition

Overloads

AddFaultOnWrite(GrainId, Exception)

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

AddFaultOnWrite(GrainReference, Exception)

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

AddFaultOnWrite(GrainId, Exception)

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

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

Parameters

grainId
GrainId
exception
Exception

Returns

Task.

Applies to

AddFaultOnWrite(GrainReference, Exception)

Source:
IStorageFaultGrain.cs

Adds a storage exception to be thrown when the referenced grain writes state to a storage provider

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

Parameters

grainReference
GrainReference
exception
Exception

Returns

Applies to