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

What is windows phone bluetooth?

0 Answers  


What is windows phone?

0 Answers  


What is the windows phone front page?

0 Answers  


How to get the geolocation data on a picture?

0 Answers  


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

1 Answers  


is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?

0 Answers  


Explain about windows phone bluetooth?

0 Answers  


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

1 Answers  


How to customize front page?

0 Answers  


Suppose I have lost one of the application templates in visual studio 2010. It's available in the file system but not in visual studio... Any ideas?

0 Answers  


How to play two mediaelements at once?

0 Answers  


How to save screen from an XNA app?

1 Answers  


Categories