NavigationService.AddBackEntry Method
Adds an entry to back navigation history that contains a CustomContentState object.
Namespace: System.Windows.Navigation
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- state
- Type: System.Windows.Navigation.CustomContentState
A CustomContentState object that represents application-defined state that is associated with a specific piece of content.
| Exception | Condition |
|---|---|
| InvalidOperationException | state is null, and a CustomContentState object isn't returned from GetContentState. |
AddBackEntry, CustomContentState, and IProvideCustomContentState are used to help remember multiple sets of state for the current content.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.