NavigationManager.HandleLocationChangingHandlerException 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.
Gère les exceptions levées dans les gestionnaires de modification d’emplacement.
protected virtual void HandleLocationChangingHandlerException (Exception ex, Microsoft.AspNetCore.Components.Routing.LocationChangingContext context);
abstract member HandleLocationChangingHandlerException : Exception * Microsoft.AspNetCore.Components.Routing.LocationChangingContext -> unit
override this.HandleLocationChangingHandlerException : Exception * Microsoft.AspNetCore.Components.Routing.LocationChangingContext -> unit
Protected Overridable Sub HandleLocationChangingHandlerException (ex As Exception, context As LocationChangingContext)
Paramètres
- ex
- Exception
Exception à gérer.
- context
- LocationChangingContext
Contexte passé au gestionnaire.
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