Edytuj

Udostępnij za pośrednictwem


IStorageFaultGrain.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
Public Function AddFaultOnRead (grainId As GrainId, exception As Exception) As Task

Parameters

grainId
GrainId
exception
Exception

Returns

Task.

Applies to

AddFaultOnRead(GrainReference, Exception)

Source:
IStorageFaultGrain.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
Public Function AddFaultOnRead (grainReference As GrainReference, exception As Exception) As Task

Parameters

grainReference
GrainReference
exception
Exception

Returns

Applies to