Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1005 Bytes

frame_navigationfailed.md

File metadata and controls

30 lines (19 loc) · 1005 Bytes
-api-id -api-type
E:Microsoft.UI.Xaml.Controls.Frame.NavigationFailed
winrt event

Microsoft.UI.Xaml.Controls.Frame.NavigationFailed

-description

Occurs when an error is raised while navigating to the requested content.

-xaml-syntax

<Frame NavigationFailed="eventhandler" />

-remarks

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.

-examples

-see-also

Navigate, NavigationFailedEventArgs