Skip to content

FaultInjectionGrainStorage.ClearStateAsync(string, GrainId, IGrainState<T>)

ClearStateAsync(string, GrainId, IGrainState<T>)

View source
public Task ClearStateAsync<T>(string grainType, GrainId grainId, IGrainState<T> grainState)
Faults if exception is provided, otherwise calls through to decorated storage provider.

Parameters

grainTypestring
grainIdGrainId
grainStateIGrainState<T>

Returns

Completion promise for the Delete operation on the specified grain.