Udostępnij za pośrednictwem


NavigationFailedEventArgs.SourcePageType Property

Definition

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

public:
 property TypeName SourcePageType { TypeName get(); };
TypeName SourcePageType();
public System.Type SourcePageType { get; }
var typeName = navigationFailedEventArgs.sourcePageType;
Public ReadOnly Property SourcePageType As Type

Property Value

The value of the sourcePageType parameter from the originating Navigate call, as a type reference (System.Type for Microsoft .NET, a TypeName helper struct for C++/WinRT).

Remarks

During a navigation event, the sourcePageType parameter is the page that is being navigated to. For more info, see Frame.SourcePageType.

Note

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 C++/WinRT), this is a TypeName helper struct.

Applies to

See also