NavigationManager.NotifyLocationChangingAsync(String, String, Boolean) 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.
Notifies the registered handlers of the current location change.
protected System.Threading.Tasks.ValueTask<bool> NotifyLocationChangingAsync (string uri, string? state, bool isNavigationIntercepted);
member this.NotifyLocationChangingAsync : string * string * bool -> System.Threading.Tasks.ValueTask<bool>
Protected Function NotifyLocationChangingAsync (uri As String, state As String, isNavigationIntercepted As Boolean) As ValueTask(Of Boolean)
Parameters
- uri
- String
The destination URI. This can be absolute, or relative to the base URI.
- state
- String
The state associated with the target history entry.
- isNavigationIntercepted
- Boolean
Whether this navigation was intercepted from a link.
Returns
A ValueTask<TResult> representing the completion of the operation. If the result is true
, the navigation should continue.