PhoneApplicationService.Launching 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 launched.

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

Syntax

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

Remarks

This event is raised when the application is launched by the user. This include the user tapping the icon for your application from the installed programs list or by tapping the Tile for your application on the device’s Start screen. You should not load content from isolated storage or the web during this event handler because it will cause the application to load slowly. Also, the application should not imply that it is resuming from a previous session.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhoneApplicationService Class

Microsoft.Phone.Shell Namespace