-api-id | -api-type |
---|---|
E:Microsoft.UI.Xaml.Controls.Frame.NavigationFailed |
winrt event |
Occurs when an error is raised while navigating to the requested content.
<Frame NavigationFailed="eventhandler" />
You must handle NavigationFailed
to respond when the Navigate method fails. You can handle the failure directly in the event handler, or you can set the NavigationFailedEventArgs.Handled property to true
and use the Navigate method return value to respond to the failure.