RedisGrainStorage.ClearStateAsync<T> 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 instance.
public System.Threading.Tasks.Task ClearStateAsync<T>(string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState);
abstract member ClearStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
override this.ClearStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
Public Function ClearStateAsync(Of T) (grainType As String, grainId As GrainId, grainState As IGrainState(Of T)) As Task
Type Parameters
- T
The grain state type.
Parameters
- grainType
- String
- grainId
- GrainId
Grain ID
- grainState
- IGrainState<T>
Copy of last-known state data object for this grain.
Returns
Completion promise for the Delete operation on the specified grain.