NavigationFailedEventArgs 类

定义

WebView.NavigationFailedFrame.NavigationFailed 事件提供事件数据。

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
继承
Object Platform::Object IInspectable NavigationFailedEventArgs
属性

属性

Exception

获取与失败导航关联的异常的结果代码。

Handled

获取或设置一个值,该值指示是否已处理失败事件。

SourcePageType

获取从原始 Navigate 调用导航到) 的页面 (参数的值sourcePageType

适用于

另请参阅