1 out of 1 rated this helpful - Rate this topic

ActivatedEventArgs.IsApplicationInstancePreserved Property

July 26, 2012

Indicates whether the application instance was preserved.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public bool IsApplicationInstancePreserved { get; internal set; }

Property Value

Type: System.Boolean
true if the application instance was preserved; otherwise, false.

When an application is deactivated, it is typically put into a dormant state. In this state, although no code is executed, the application state is preserved intact in memory. When an application is activated from being in a dormant state, it resumes automatically and does not need to reestablish its state. It is possible, however, for an application to be tombstoned after being placed into a dormant state. In this case, the application is not stored in memory, although state information can be stored in the application and page State dictionaries. When an application is activated after being tombstoned, it will need to re-create its previous state. For more information, see Execution Model Overview for Windows Phone.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.