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

Explain how to save silverlight uielements into an image?

0 Answers  


How to play two mediaelements at once?

0 Answers  


What is windows phone bluetooth?

0 Answers  


Tell me can I turn off some of my local papers?

1 Answers  


Can not find phoneapplicationpage.fullscreen in april ctp?

0 Answers  






Can we control the WebBrowser controls zooom?

1 Answers  


Tell me about Windows Phone Bluetooth?

1 Answers  


How to identify a device or a user?

0 Answers  


Explain how to play video in isolatedstorage using mediaelement?

0 Answers  


Tell me can I turn article photos off?

1 Answers  


Where is httputility class, since there is no system.windows.browser namespace?

0 Answers  


Tell me is there a way to detect if application is idle?

0 Answers  


Categories