Dela via


NavigationManager.HandleLocationChangingHandlerException Method

Definition

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.

Applies to