WebViewNavigationFailedEventArgs WebViewNavigationFailedEventArgs WebViewNavigationFailedEventArgs Class

Provides data for the NavigationFailed event.

Syntax

Declaration

public sealed class WebViewNavigationFailedEventArgspublic sealed class WebViewNavigationFailedEventArgsPublic NotInheritable Class WebViewNavigationFailedEventArgs

Properties summary

Gets the URI that the WebView attempted to navigate to.

Gets the error that occurred when navigation failed.

Properties

  • Uri
    Uri
    Uri
    Uri

    Gets the URI that the WebView attempted to navigate to.

    public Uri Uri { get; }public Uri Uri { get; }Public ReadOnly Property Uri As Uripublic Uri Uri { get; }

    Property Value

    • The attempted navigation target.

  • WebErrorStatus
    WebErrorStatus
    WebErrorStatus
    WebErrorStatus

    Gets the error that occurred when navigation failed.

    public WebErrorStatus WebErrorStatus { get; }public WebErrorStatus WebErrorStatus { get; }Public ReadOnly Property WebErrorStatus As WebErrorStatuspublic WebErrorStatus WebErrorStatus { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.dll