ComponentStatePersistenceManager.RestoreStateAsync 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.
Restores the component application state from the given IPersistentComponentStateStore.
public System.Threading.Tasks.Task RestoreStateAsync (Microsoft.AspNetCore.Components.IPersistentComponentStateStore store);
member this.RestoreStateAsync : Microsoft.AspNetCore.Components.IPersistentComponentStateStore -> System.Threading.Tasks.Task
Public Function RestoreStateAsync (store As IPersistentComponentStateStore) As Task
Parameters
The IPersistentComponentStateStore to restore the application state from.
Returns
A Task that will complete when the state has been restored.