Checking for IsApplicationInstancePreserved

Dec 30, 2011 at 1:41 PM

A tombstone restore is only needed if the application is actually Tombstoned. When the app returns from a Dormant state, the restore is done automatically by Windows Phone since the Mango update.

This can be checked with the IsApplicationInstancePreserved property. But I don't see this property being used in the source code of this helper Library. Can you explain if it's being used?

 

Dec 30, 2011 at 1:58 PM

I think you have to add this to TobstoneHelper.cs line 81:

if(!e.IsApplicationInstancePreserved)
{

 

LoadProperties();

}

// Load names so we know whether instances need rehydrating or not