RemoveBackEntry Method
Collapse the table of content
Expand the table of content

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)

public JournalEntry RemoveBackEntry()

Return Value

Type: System.Windows.Navigation.JournalEntry
The JournalEntry that was removed if the back stack was not empty; otherwise, null.

ExceptionCondition
UnauthorizedAccessException

RemoveBackEntry is not being called from the UI thread.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft