IStorage.ReadStateAsync 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.
Overloads
ReadStateAsync() |
Reads grain state from storage. |
ReadStateAsync(CancellationToken) |
Reads grain state from storage. |
ReadStateAsync()
- Source:
- IStorage.cs
Reads grain state from storage.
public System.Threading.Tasks.Task ReadStateAsync();
abstract member ReadStateAsync : unit -> System.Threading.Tasks.Task
Public Function ReadStateAsync () As Task
Returns
A Task representing the operation.
Remarks
Any previous contents of the grain state data will be overwritten.
Applies to
ReadStateAsync(CancellationToken)
Reads grain state from storage.
public virtual System.Threading.Tasks.Task ReadStateAsync(System.Threading.CancellationToken cancellationToken);
abstract member ReadStateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ReadStateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ReadStateAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
Returns
A Task representing the operation.
Remarks
Any previous contents of the grain state data will be overwritten.