IStorageProvider.ClearStateAsync(String, GrainReference, IGrainState) 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.
Delete / Clear data function for this storage provider instance.
public System.Threading.Tasks.Task ClearStateAsync (string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState);
abstract member ClearStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
Public Function ClearStateAsync (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
Copy of last-known state data object for this grain.
Returns
Completion promise for the Delete operation on the specified grain.