共用方式為


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)

參數

e
NavigationFailedEventArgs

NavigationFailedEventArgs,其中包含事件資料。

範例

OnFragmentNavigation

OnLoadCompleted

OnNavigating

OnNavigated

OnNavigationProgress

OnNavigationStopped

備註

OnNavigationFailed 會引發 NavigationFailed 事件。

衍生自 Application 的類型可能會覆寫 OnNavigationFailed 。 如果需要 NavigationFailed 引發,覆寫的方法必須在基類中呼叫 OnNavigationFailed

適用於