NavigationFailedEventArgs NavigationFailedEventArgs NavigationFailedEventArgs NavigationFailedEventArgs Class


Provides event data for the WebView.NavigationFailed and Frame.NavigationFailed events.

public : sealed class NavigationFailedEventArgs : INavigationFailedEventArgspublic sealed class NavigationFailedEventArgs : INavigationFailedEventArgsPublic NotInheritable Class NavigationFailedEventArgs Implements INavigationFailedEventArgs// This API is not available in Javascript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Exception Exception Exception Exception

Gets the result code for the exception that is associated with the failed navigation.

public : HResult Exception { get; }public Exception Exception { get; }Public ReadOnly Property Exception As Exception// This API is not available in Javascript.
HResult Exception Exception Exception

A system exception result code.

Handled Handled Handled Handled

Gets or sets a value that indicates whether the failure event has been handled.

public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// This API is not available in Javascript.
PlatForm::Boolean bool bool bool

true if the failure event is handled; false if the failure event is not yet handled.

SourcePageType SourcePageType SourcePageType SourcePageType

Gets the data type of the target page.

public : TypeName SourcePageType { get; }public Type SourcePageType { get; }Public ReadOnly Property SourcePageType As Type// This API is not available in Javascript.
TypeName Type Type Type

The data type of the target page, as a type reference (System.Type for Microsoft .NET, a TypeName helper struct for Visual C++ component extensions (C++/CX)).



If you are programming using a Microsoft .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type. If you're using Visual C++ component extensions (C++/CX)), this is a TypeName helper struct.

See Also