IPersistentComponentStateStore.PersistStateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Conserve l’état sérialisé dans le stockage.
public System.Threading.Tasks.Task PersistStateAsync (System.Collections.Generic.IReadOnlyDictionary<string,byte[]> state);
abstract member PersistStateAsync : System.Collections.Generic.IReadOnlyDictionary<string, byte[]> -> System.Threading.Tasks.Task
Public Function PersistStateAsync (state As IReadOnlyDictionary(Of String, Byte())) As Task
Paramètres
- state
- IReadOnlyDictionary<String,Byte[]>
État sérialisé à conserver.
Retours
Task qui se termine lorsque l’état est conservé sur le disque.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour