Läs på engelska

Dela via


IStartupTaskActivatedEventArgs Interface

Definition

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

public interface class IStartupTaskActivatedEventArgs : IActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.Guid(61938264, 21110, 19857, 134, 33, 84, 97, 24, 100, 213, 250)]
struct IStartupTaskActivatedEventArgs : IActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.Guid(61938264, 21110, 19857, 134, 33, 84, 97, 24, 100, 213, 250)]
public interface IStartupTaskActivatedEventArgs : IActivatedEventArgs
Public Interface IStartupTaskActivatedEventArgs
Implements IActivatedEventArgs
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This functionality is only supported on Windows Desktop.

Properties

Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
SplashScreen

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

(Inherited from IActivatedEventArgs)
TaskId

Gets the unique ID of the startup task

Applies to

Produkt Versioner
WinRT Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also