ICustomStorageInterface<TState,TDelta>.ReadStateFromStorage 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.
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.