How to find if the Application is returning from Dormant or Tombstoned State in WP7?

In Windows Phone Mango, when the App is deactivated, it puts the App into the dormant state.

This state provides the Fast Switching support where the App is still in memory.

How to find if the Application is returning from Dormant or Tombstoned State in WP7?

When the App returns from the dormant state, the Activated Event is triggered.

The ActivatedEventArgs argument of the Activated Event provides a property called ApplicationInstancePreserved to determine of the App is returning from Dormant or Tombstoned state .

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...