Udostępnij za pośrednictwem


NavigationFailedEventArgs Class

Definition

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

public ref class NavigationFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigationFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigationFailedEventArgs
Public NotInheritable Class NavigationFailedEventArgs
Inheritance
Object Platform::Object IInspectable NavigationFailedEventArgs
Attributes

Properties

Exception

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

Handled

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

SourcePageType

Gets the value of the sourcePageType parameter (the page being navigated to) from the originating Navigate call.

Applies to

See also