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

Définition

Avertit les gestionnaires inscrits de la modification d’emplacement actuelle.

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)

Paramètres

uri
String

URI de destination. Cela peut être absolu ou relatif à l’URI de base.

state
String

État associé à l’entrée d’historique cible.

isNavigationIntercepted
Boolean

Indique si cette navigation a été interceptée à partir d’un lien.

Retours

ValueTask<TResult> représentant la fin de l’opération. Si le résultat est true, la navigation doit continuer.

S’applique à