GuidanceNavigator.RerouteFailed Event

Definition

Occurs when rerouting of the navigational guidance fails.

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 RerouteFailed(TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
GuidanceNavigator::RerouteFailed_revoker RerouteFailed(auto_revoke_t, TypedEventHandler<GuidanceNavigator, IInspectable const&> const& handler) const;
public event TypedEventHandler<GuidanceNavigator,object> RerouteFailed;
function onRerouteFailed(eventArgs) { /* Your code */ }
guidanceNavigator.addEventListener("reroutefailed", onRerouteFailed);
guidanceNavigator.removeEventListener("reroutefailed", onRerouteFailed);
- or -
guidanceNavigator.onreroutefailed = onRerouteFailed;
Public Custom Event RerouteFailed As TypedEventHandler(Of GuidanceNavigator, Object) 

Event Type

Applies to