LocationChangingContext Class

Definition

Contains context for a change to the browser's current location.

public sealed class LocationChangingContext
type LocationChangingContext = class
Public NotInheritable Class LocationChangingContext
Inheritance
LocationChangingContext

Constructors

LocationChangingContext()

Properties

CancellationToken

Gets a CancellationToken that can be used to determine if this navigation was canceled (for example, because the user has triggered a different navigation).

HistoryEntryState

Gets the state associated with the target history entry.

IsNavigationIntercepted

Gets whether this navigation was intercepted from a link.

TargetLocation

Gets the target location.

Methods

PreventNavigation()

Prevents this navigation from continuing.

Applies to