If you want to programmatically terminate the windows phone 8 application , you can use the Application.Terminate() method .
How to Terminate an Windows Phone 8 App using C#?
Application.Terminate();
When using the Application.Terminate() , the developers should make sure that all the necessary data is saved because , the Application Closing event handler wont be raised in this case.
Leave a Reply