IConfigurationEventHandlerContextAware<T>.AfterUpdateAsync 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.
Appelé de manière fire-and-forget une fois qu’une configuration a été récupérée avec succès.
public System.Threading.Tasks.Task AfterUpdateAsync(string metadataAddress, T configuration, Microsoft.IdentityModel.Protocols.Configuration.ConfigurationRetrievalContext context, System.Threading.CancellationToken cancellationToken = default);
abstract member AfterUpdateAsync : string * 'T * Microsoft.IdentityModel.Protocols.Configuration.ConfigurationRetrievalContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AfterUpdateAsync (metadataAddress As String, configuration As T, context As ConfigurationRetrievalContext, Optional cancellationToken As CancellationToken = Nothing) As Task
Paramètres
- metadataAddress
- String
Adresse du point de terminaison de métadonnées.
- configuration
- T
Configuration récupérée.
- context
- ConfigurationRetrievalContext
Contexte de l’opération de récupération de configuration, fournissant des informations et un contrôle supplémentaires.
- cancellationToken
- CancellationToken
Jeton d’annulation à observer en attendant la fin de la tâche.