NavigationManager.HandleLocationChangingHandlerException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles exceptions thrown in location changing handlers.
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)
Parameters
- ex
- Exception
The exception to handle.
- context
- LocationChangingContext
The context passed to the handler.