ComponentStatePersistenceManager.RestoreStateAsync Method

Definition

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

store
IPersistentComponentStateStore

The IPersistentComponentStateStore to restore the application state from.

Returns

A Task that will complete when the state has been restored.

Applies to