Edit

Share via


StorageFaultGrain.AddFaultOnRead Method

Definition

Overloads

AddFaultOnRead(GrainId, Exception)

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

AddFaultOnRead(GrainReference, Exception)

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

AddFaultOnRead(GrainId, Exception)

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

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

Parameters

grainId
GrainId
exception
Exception

Returns

Task.

Implements

Applies to

AddFaultOnRead(GrainReference, Exception)

Source:
StorageFaultGrain.cs

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

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

Parameters

grainReference
GrainReference
exception
Exception

Returns

Implements

Applies to