AzureTableStorage.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.
Clear / Delete state data function for this storage provider.
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
override this.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
- grainReference
- GrainReference
- grainState
- IGrainState
Returns
Implements
Remarks
If the DeleteStateOnClear
is set to true
then the table row for this grain will be deleted / removed, otherwise the table row will be cleared by overwriting with default / null values.