Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PhoneApplicationService.Closing Event

April 12, 2014

Occurs when the application is exiting.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public event EventHandler<ClosingEventArgs> Closing
<object Closing="EventHandler<ClosingEventArgs>" .../>

This event is raised when the user uses the Back button to navigate backwards past the first page of the application. Handle this event by saving persistent state, such as settings and user data, to isolated storage.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft. All rights reserved.