Edytuj

Udostępnij za pośrednictwem


FaultInjectionStorageProvider<TStorage>.ReadStateAsync Method

Definition

Faults if exception is provided, otherwise calls through to decorated storage provider.

public System.Threading.Tasks.Task ReadStateAsync (string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState);
abstract member ReadStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
override this.ReadStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
Public Function ReadStateAsync (grainType As String, grainReference As GrainReference, grainState As IGrainState) As Task

Parameters

grainType
String

Type of this grain [fully qualified class name]

grainReference
GrainReference

Grain reference object for this grain.

grainState
IGrainState

State data object to be populated for this grain.

Returns

Completion promise for the Read operation on the specified grain.

Implements

Applies to