PerformanceNavigation Class
The legacy description of the navigation of the document of a window (https://w3c.github.io/navigation-timing/#sec-window.performance-attribute, performance.navigation).
public sealed class PerformanceNavigationProperties
| Name | Description |
|---|---|
| RedirectCount | Gets the number of redirects of the navigation, or 0 when one of them is cross-origin. |
| Type | Gets the type of the navigation: PerformanceNavigation.TypeNavigate, PerformanceNavigation.TypeReload or PerformanceNavigation.TypeBackForward. |
RedirectCount
NavigationTiming.csGets the number of redirects of the navigation, or 0 when one of them is cross-origin.
public ushort RedirectCount { get; }Property value
See also
Gets the type of the navigation: PerformanceNavigation.TypeNavigate, PerformanceNavigation.TypeReload or PerformanceNavigation.TypeBackForward.
public ushort Type { get; }Constants
| Name | Description |
|---|---|
| TypeBackForward | A traversal of the session history. |
| TypeNavigate | A navigation that is not a reload nor a traversal of the session history. |
| TypeReload | A reload of the document. |
| TypeReserved | Another type of navigation. |
TypeBackForward
A traversal of the session history.
public const ushort TypeBackForward = 2TypeReload
A reload of the document.
public const ushort TypeReload = 1TypeReserved
Another type of navigation.
public const ushort TypeReserved = 255