NavigationManager.NotifyLocationChangingAsync(String, String, Boolean) Method

Definition

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.

Applies to