Edit

Share via


ICustomStorageInterface<TState,TDelta>.ReadStateFromStorage Method

Definition

Reads the current state and version from storage (note that the state object may be mutated by the provider, so it must not be shared).

public System.Threading.Tasks.Task<System.Collections.Generic.KeyValuePair<int,TState>> ReadStateFromStorage ();
abstract member ReadStateFromStorage : unit -> System.Threading.Tasks.Task<System.Collections.Generic.KeyValuePair<int, 'State>>
Public Function ReadStateFromStorage () As Task(Of KeyValuePair(Of Integer, TState))

Returns

the version number and a state object.

Applies to