ComponentStatePersistenceManager.PersistStateAsync 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.
Persists the component application state into the given IPersistentComponentStateStore.
public System.Threading.Tasks.Task PersistStateAsync(Microsoft.AspNetCore.Components.IPersistentComponentStateStore store, Microsoft.AspNetCore.Components.RenderTree.Renderer renderer);member this.PersistStateAsync : Microsoft.AspNetCore.Components.IPersistentComponentStateStore * Microsoft.AspNetCore.Components.RenderTree.Renderer -> System.Threading.Tasks.TaskPublic Function PersistStateAsync (store As IPersistentComponentStateStore, renderer As Renderer) As TaskParameters
The IPersistentComponentStateStore to restore the application state from.
Returns
A Task that will complete when the state has been restored.