NavigationService.RemoveBackEntry Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes the most recent entry from the back stack.
Namespace: System.Windows.Navigation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Function RemoveBackEntry As JournalEntry
public JournalEntry RemoveBackEntry()
Return Value
Type: System.Windows.Navigation..::.JournalEntry
The JournalEntry that was removed if the back stack was not empty; otherwise, null.
Exceptions
| Exception | Condition |
|---|---|
| UnauthorizedAccessException | RemoveBackEntry is not being called from the UI thread. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone