Application.OnNavigationFailed(NavigationFailedEventArgs) 方法

定义

引发 NavigationFailed 事件。

protected:
 virtual void OnNavigationFailed(System::Windows::Navigation::NavigationFailedEventArgs ^ e);
protected virtual void OnNavigationFailed (System.Windows.Navigation.NavigationFailedEventArgs e);
abstract member OnNavigationFailed : System.Windows.Navigation.NavigationFailedEventArgs -> unit
override this.OnNavigationFailed : System.Windows.Navigation.NavigationFailedEventArgs -> unit
Protected Overridable Sub OnNavigationFailed (e As NavigationFailedEventArgs)

参数

示例

OnFragmentNavigation

OnLoadCompleted

OnNavigating

OnNavigated

OnNavigationProgress

OnNavigationStopped

注解

OnNavigationFailed 引发 NavigationFailed 事件。

派生自 Application 的类型可能会替代 OnNavigationFailed。 如果需要NavigationFailed引发,重写的方法必须在基类中调用OnNavigationFailed

适用于