Bagikan melalui


NavigationFailedEventArgs Kelas

Definisi

Menyediakan data peristiwa untuk peristiwa WebView.NavigationFailed dan Frame.NavigationFailed .

public ref class NavigationFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class NavigationFailedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigationFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class NavigationFailedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigationFailedEventArgs
Public NotInheritable Class NavigationFailedEventArgs
Warisan
Object Platform::Object IInspectable NavigationFailedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Properti

Exception

Mendapatkan kode hasil untuk pengecualian yang terkait dengan navigasi yang gagal.

Handled

Mendapatkan atau menetapkan nilai yang menunjukkan apakah peristiwa kegagalan telah ditangani.

SourcePageType

Mendapatkan nilai sourcePageType parameter (halaman yang dinavigasi) dari panggilan Navigasi asal.

Berlaku untuk

Lihat juga