GuidanceNavigator.Rerouted Event

Definition

Occurs when the navigational guidance has been rerouted.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.

// Register
event_token Rerouted(TypedEventHandler<GuidanceNavigator, GuidanceReroutedEventArgs const&> const& handler) const;

// Revoke with event_token
void Rerouted(event_token const* cookie) const;

// Revoke with event_revoker
GuidanceNavigator::Rerouted_revoker Rerouted(auto_revoke_t, TypedEventHandler<GuidanceNavigator, GuidanceReroutedEventArgs const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,GuidanceReroutedEventArgs> Rerouted;
function onRerouted(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("rerouted", onRerouted);
guidanceNavigator.removeEventListener("rerouted", onRerouted);
- or -
guidanceNavigator.onrerouted = onRerouted;
Public Custom Event Rerouted As TypedEventHandler(Of GuidanceNavigator, GuidanceReroutedEventArgs) 

Event Type

Applies to