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.Task
Public Function PersistStateAsync (store As IPersistentComponentStateStore, renderer As Renderer) As Task
Parameters
The IPersistentComponentStateStore to restore the application state from.
Returns
A Task that will complete when the state has been restored.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for