Edytuj

Udostępnij za pośrednictwem


AzureTableStorage.ClearStateAsync(String, GrainReference, IGrainState) Method

Definition

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.

Applies to