StorageFaultGrain.OnWrite 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
OnWrite(GrainId) |
Throws a storage exception if one has been added for the grain reference for writing. |
OnWrite(GrainReference) |
Throws a storage exception if one has been added for the grain reference for writing. |
OnWrite(GrainId)
Throws a storage exception if one has been added for the grain reference for writing.
public System.Threading.Tasks.Task OnWrite (Orleans.Runtime.GrainId grainId);
abstract member OnWrite : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task
override this.OnWrite : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task
Public Function OnWrite (grainId As GrainId) As Task
Parameters
- grainId
- GrainId
Returns
Implements
Applies to
OnWrite(GrainReference)
- Source:
- StorageFaultGrain.cs
Throws a storage exception if one has been added for the grain reference for writing.
public System.Threading.Tasks.Task OnWrite (Orleans.Runtime.GrainReference grainReference);
abstract member OnWrite : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task
override this.OnWrite : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task
Public Function OnWrite (grainReference As GrainReference) As Task
Parameters
- grainReference
- GrainReference