Share via

PhoneApplicationService.Activated Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the application is being made active after previously being put into a dormant state or tombstoned.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.


Public Event Activated As EventHandler(Of ActivatedEventArgs)
public event EventHandler<ActivatedEventArgs> Activated
<object Activated="EventHandler<ActivatedEventArgs>" .../>


The Activated event is raised when the user has navigated away from your application, either by pressing the Start button or by invoking a Launcher or Chooser, and then returns to the application either by completing the chooser interaction, by using the Back button to until the application is active again, or by selecting the application from the task switcher. Handle this event by loading transient state from the State property. The application should present the user with an experience as if they are continuing a previous application session. Do not retrieve data from isolated storage during this event because it will cause a delay in the application loading.

It is possible for your application to be activated without having been tombstoned. In this case, you can optimize your application’s performance by checking your state objects, and if they already contain data, you do not need to restore your application’s state.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


PhoneApplicationService Class

Microsoft.Phone.Shell Namespace