Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

On april ctp refresh, splashscreen appears for 3 seconds and disappears (even if my page is not fully loaded)?

880


Explain how to identify a device or a user?

885


Can I use my phone as a boot device?

923


Tell me is asp.net forms authentication supported?

1043


Tell me in my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?

992


What is windows phone media support?

936


Some images look different when synced to the device and read programmaticaly. Do decoders change these?

882


Will texttrimming property be available on textblock?

919


Are there apis to read rss/atom feeds?

1077


Explain how to edit location for weather?

885


How the volume work between apps and hardware buttons on the device?

904


Can we intercept the search button to do an app specific search?

835


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

930


Suppose my site is down, and async calls are taking too long to timeout. How can I set a reasonable timeout?

928


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

962