Application.Exit Event
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Occurs just before an application shuts down and cannot be canceled.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
We recommend that you handle the Closing event instead of the Exit event to persist the state of the app when the app is closed.
Show: