Share via


ComponentStatePersistenceManager.RestoreStateAsync Method

Definition

Overloads

Name Description
RestoreStateAsync(IPersistentComponentStateStore)

Restores the component application state from the given IPersistentComponentStateStore.

RestoreStateAsync(IPersistentComponentStateStore, RestoreContext)

Restores the application state.

RestoreStateAsync(IPersistentComponentStateStore)

Source:
ComponentStatePersistenceManager.cs
Source:
ComponentStatePersistenceManager.cs
Source:
ComponentStatePersistenceManager.cs
Source:
ComponentStatePersistenceManager.cs
Source:
ComponentStatePersistenceManager.cs

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

RestoreStateAsync(IPersistentComponentStateStore, RestoreContext)

Source:
ComponentStatePersistenceManager.cs

Restores the application state.

public System.Threading.Tasks.Task RestoreStateAsync(Microsoft.AspNetCore.Components.IPersistentComponentStateStore store, Microsoft.AspNetCore.Components.RestoreContext context);
member this.RestoreStateAsync : Microsoft.AspNetCore.Components.IPersistentComponentStateStore * Microsoft.AspNetCore.Components.RestoreContext -> System.Threading.Tasks.Task
Public Function RestoreStateAsync (store As IPersistentComponentStateStore, context As RestoreContext) As Task

Parameters

store
IPersistentComponentStateStore

The IPersistentComponentStateStore to restore the application state from.

context
RestoreContext

The RestoreContext that provides additional context for the restoration.

Returns

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

Applies to