IStorageFaultGrain.AddFaultOnWrite 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
AddFaultOnWrite(GrainId, Exception) |
Adds a storage exception to be thrown when the referenced grain writes state to a storage provider |
AddFaultOnWrite(GrainReference, Exception) |
Adds a storage exception to be thrown when the referenced grain writes state to a storage provider |
AddFaultOnWrite(GrainId, Exception)
Adds a storage exception to be thrown when the referenced grain writes state to a storage provider
public System.Threading.Tasks.Task AddFaultOnWrite (Orleans.Runtime.GrainId grainId, Exception exception);
abstract member AddFaultOnWrite : Orleans.Runtime.GrainId * Exception -> System.Threading.Tasks.Task
Public Function AddFaultOnWrite (grainId As GrainId, exception As Exception) As Task
Parameters
- grainId
- GrainId
- exception
- Exception
Returns
Task.
Applies to
AddFaultOnWrite(GrainReference, Exception)
- Source:
- IStorageFaultGrain.cs
Adds a storage exception to be thrown when the referenced grain writes state to a storage provider
public System.Threading.Tasks.Task AddFaultOnWrite (Orleans.Runtime.GrainReference grainReference, Exception exception);
abstract member AddFaultOnWrite : Orleans.Runtime.GrainReference * Exception -> System.Threading.Tasks.Task
Public Function AddFaultOnWrite (grainReference As GrainReference, exception As Exception) As Task
Parameters
- grainReference
- GrainReference
- exception
- Exception