LocationChangingContext Class
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.
Contains context for a change to the browser's current location.
public sealed class LocationChangingContext
type LocationChangingContext = class
Public NotInheritable Class LocationChangingContext
- Inheritance
-
LocationChangingContext
Cancellation |
Gets a CancellationToken that can be used to determine if this navigation was canceled (for example, because the user has triggered a different navigation). |
History |
Gets the state associated with the target history entry. |
Is |
Gets whether this navigation was intercepted from a link. |
Target |
Gets the target location. |
Prevent |
Prevents this navigation from continuing. |
Product | Versions |
---|---|
ASP.NET Core | 7.0, 8.0, 9.0 |