How to detect if my application is exiting so I can save state?






How to detect if my application is exiting so I can save state?..

Answer / diana

You can listen to Application.Exit, but this might be too late most of the time. You should listen for the Pause event and save your state there.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Windows Phone OS Interview Questions

I see applications using listbox that show scrollbar only on while scrolling. How can I detect that I am scrolling?

1 Answers  


explain the best way to detect that I am in design-mode in expression blend or visual studio?

0 Answers  


Tell me is it temporary that the control styles are included in App.xaml?

1 Answers  


is there a way to know if my code is running on emulator or device?

0 Answers  


How to get the geolocation data on a picture?

0 Answers  






Do you know will Microsoft ship a panorama control with the run-time?

0 Answers  


where is the best recommended place to store both static and user-specified configuration information?

0 Answers  


Explain does the web browser control share the ie cache?

0 Answers  


How to send suggestions on how to better the app to the AP?

1 Answers  


Tell me what happened to TopLevelNavigationService, it is not there on April CTP Refresh?

1 Answers  


What is windows phone?

0 Answers  


The MarketPlace Launchers overloads for Show has parameters, what are these?

1 Answers  






Categories