Condividi tramite


ComponentStatePersistenceManager.RestoreStateAsync Metodo

Definizione

Ripristina lo stato dell'applicazione del componente dall'oggetto specificato 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

Parametri

store
IPersistentComponentStateStore

Oggetto IPersistentComponentStateStore da cui ripristinare lo stato dell'applicazione.

Restituisce

Oggetto Task che verrà completato al ripristino dello stato.

Si applica a