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