StorageFaultGrain.OnRead Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OnRead(GrainId) |
Throws a storage exception if one has been added for the grain reference for reading. |
OnRead(GrainReference) |
Throws a storage exception if one has been added for the grain reference for reading. |
OnRead(GrainId)
Throws a storage exception if one has been added for the grain reference for reading.
public System.Threading.Tasks.Task OnRead (Orleans.Runtime.GrainId grainId);
abstract member OnRead : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task
override this.OnRead : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task
Public Function OnRead (grainId As GrainId) As Task
Parameters
- grainId
- GrainId
Returns
Implements
Applies to
OnRead(GrainReference)
- Source:
- StorageFaultGrain.cs
Throws a storage exception if one has been added for the grain reference for reading.
public System.Threading.Tasks.Task OnRead (Orleans.Runtime.GrainReference grainReference);
abstract member OnRead : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task
override this.OnRead : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task
Public Function OnRead (grainReference As GrainReference) As Task
Parameters
- grainReference
- GrainReference