Share via


NavigationManager.NotifyLocationChangingAsync(String, String, Boolean) Método

Definición

Notifica a los controladores registrados del cambio de ubicación actual.

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)

Parámetros

uri
String

URI de destino. Esto puede ser absoluto o relativo al URI base.

state
String

Estado asociado a la entrada del historial de destino.

isNavigationIntercepted
Boolean

Si esta navegación se interceptó desde un vínculo.

Devoluciones

que ValueTask<TResult> representa la finalización de la operación. Si el resultado es true, la navegación debe continuar.

Se aplica a