IStartupTaskActivatedEventArgs IStartupTaskActivatedEventArgs IStartupTaskActivatedEventArgs IStartupTaskActivatedEventArgs IStartupTaskActivatedEventArgs Interface


Provides information when an app is activated at device startup or user login.

public : interface IStartupTaskActivatedEventArgs : IActivatedEventArgs
struct winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs : IActivatedEventArgs
public interface IStartupTaskActivatedEventArgs : IActivatedEventArgs
Public Interface IStartupTaskActivatedEventArgs Implements IActivatedEventArgs
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)


This functionality is only supported on Windows Desktop.


Kind Kind Kind Kind Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
SplashScreen SplashScreen SplashScreen SplashScreen SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

(Inherited from IActivatedEventArgs)
TaskId TaskId TaskId TaskId TaskId

Gets the unique ID of the startup task

See also