Provides event information when an app is launched.
public ref class LaunchActivatedEventArgs sealed : ILaunchActivatedEventArgs, IActivatedEventArgs
This object is accessed when you respond to Activated events when ActivationKind is Launch.
Avoid performing tasks during launch if they could significantly increase the time required to launch your app. Instead, you can trigger additional loading tasks by listening for the SplashScreen.Dismissed event.
The activation deferral object should not be used to complete complex tasks during activation. Any exceptions raised by that object will cause the app to crash during activation. If you need to perform network calls or process a number of additional files during activation, consider launching your app to an extended splash screen and then performing these operations. For more information, see How to display a splash screen for longer.
Important
Apps that require an excessive amount of time to launch may be terminated by the system.
When testing your app, be aware that immediately reactivating an app that has just been terminated will result in a failed activation if the splash screen is still visible.
Namespace: Windows.ApplicationModel.Activation
Metadata: windows.winmd