ClearStateAsync
public Task ClearStateAsync() Clears the grain state.
Returns
A
System.Threading.Tasks.Task representing the operation. Orleans.Core.IStoragepublic Task ClearStateAsync()System.Threading.Tasks.Task representing the operation. public void OnDehydrate(IDehydrationContext dehydrationContext)IGrainBase completes. The participant can access and update the dehydration context. dehydrationContextIDehydrationContextpublic void OnRehydrate(IRehydrationContext rehydrationContext)IGrainBase is called. The participant can restore state from the migration context. rehydrationContextIRehydrationContextpublic Task ReadStateAsync()System.Threading.Tasks.Task representing the operation. public Task WriteStateAsync()System.Threading.Tasks.Task representing the operation.