(X) Hide this Sign up for the upcoming webinar: Switching on the Cloud for Silverlight by Gill Cleeren. March 23rd, 11 am PST (check your local time)
Full info | Sign up | More webinars
Skip Navigation LinksHome / News / View News

Windows Phone 7 - Detecting a Tombstone

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Mar 23, 2011
(0 votes)

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterHere is a short tip on how to detect if a tombstone happened.

Source: Windows Phone Developer FAQ

You mentioned not to use StartupMode to detect a tombstone, how should it be done?

If you just want to detect if a tombstone happened, simply set a flag in your App’s handler to Deactivated event. If the value of the flag has not been reset (in Activated event) , then the app was not terminated.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 2 and type the answer here: