Specifies the type of activation.
public : enum class ActivationKind
enum class winrt::Windows::ApplicationModel::Activation::ActivationKind : int32_t
public enum ActivationKind
Public Enum ActivationKind
var value = Windows.ApplicationModel.Activation.ActivationKind.appointmentsProvider;
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
|AppointmentsProvider AppointmentsProvider AppointmentsProvider AppointmentsProvider AppointmentsProvider||13||
The user wants to manage appointments that are provided by the app.
|BarcodeScannerProvider BarcodeScannerProvider BarcodeScannerProvider BarcodeScannerProvider BarcodeScannerProvider||1022||
The app was activated as a barcode scanner provider.
|CachedFileUpdater CachedFileUpdater CachedFileUpdater CachedFileUpdater CachedFileUpdater||7||
The user wants to save a file that the app provides content management for.
|CameraSettings CameraSettings CameraSettings CameraSettings CameraSettings||11||
The app captures photos or video from an attached camera.
|CommandLineLaunch CommandLineLaunch CommandLineLaunch CommandLineLaunch CommandLineLaunch||1021||
The app was launched from the command line. Introduced in Windows 10, version 1709 (10.0.16299)
|ComponentUI ComponentUI ComponentUI ComponentUI ComponentUI||1007||
Reserved for system use. Introduced in Windows 10, version 1507 (10.0.10240).
|Contact Contact Contact Contact Contact||14||
Windows Store only. The user wants to handle calls or messages for the phone number of a contact that is provided by the app.
|ContactPanel ContactPanel ContactPanel ContactPanel ContactPanel||1017||
The app was launched from the My People UI. Note: introduced in Windows 10, version 1703 (10.0.15063), but not used. Now used starting with Windows 10, version 1709 (10.0.16299).
|ContactPicker ContactPicker ContactPicker ContactPicker ContactPicker||8||
The user wants to pick contacts.
|Device Device Device Device Device||9||
The app handles AutoPlay.
|DevicePairing DevicePairing DevicePairing DevicePairing DevicePairing||1013||
This app was activated as a result of pairing a device.
|DialReceiver DialReceiver DialReceiver DialReceiver DialReceiver||1012||
This app was launched by another app on a different device by using the DIAL protocol. Introduced in Windows 10, version 1507 (10.0.10240).
|File File File File File||3||
An app launched a file whose file type this app is registered to handle.
|FileOpenPicker FileOpenPicker FileOpenPicker FileOpenPicker FileOpenPicker||5||
The user wants to pick files that are provided by the app.
|FilePickerExperience FilePickerExperience FilePickerExperience FilePickerExperience FilePickerExperience||1015||
Reserved for system use. Introduced in Windows 10, version 1607 (10.0.14393).
|FileSavePicker FileSavePicker FileSavePicker FileSavePicker FileSavePicker||6||
The user wants to save a file and selected the app as the location.
|GameUIProvider GameUIProvider GameUIProvider GameUIProvider GameUIProvider||1019||
The app was activated because it was launched by the OS due to a game's request for Xbox-specific UI. Introduced in Windows 10, version 1703 (10.0.15063).
|Launch Launch Launch Launch Launch||0||
The user launched the app or tapped a content tile.
|LockScreen LockScreen LockScreen LockScreen LockScreen||17||
The app was activated as the lock screen. Introduced in Windows 10, version 1507 (10.0.10240).
|LockScreenCall LockScreenCall LockScreenCall LockScreenCall LockScreenCall||15||
Windows Store only. The app launches a call from the lock screen. If the user wants to accept the call, the app displays its call UI directly on the lock screen without requiring the user to unlock. A lock-screen call is a special type of launch activation.
|LockScreenComponent LockScreenComponent LockScreenComponent LockScreenComponent LockScreenComponent||1016||
Reserved for system use. Introduced in Windows 10, version 1703 (10.0.15063).
|PickerReturned PickerReturned PickerReturned PickerReturned PickerReturned||1000||
Windows Phone only. The app was activated after the completion of a picker.
|PickFileContinuation PickFileContinuation PickFileContinuation PickFileContinuation PickFileContinuation||1002||
Windows Phone only. The app was activated after the app was suspended for a file picker operation.
|PickFolderContinuation PickFolderContinuation PickFolderContinuation PickFolderContinuation PickFolderContinuation||1004||
Windows Phone only. The app was activated after the app was suspended for a folder picker operation.
|PickSaveFileContinuation PickSaveFileContinuation PickSaveFileContinuation PickSaveFileContinuation PickSaveFileContinuation||1003||
Windows Phone only. The app was activated after the app was suspended for a file save picker operation.
|Print3DWorkflow Print3DWorkflow Print3DWorkflow Print3DWorkflow Print3DWorkflow||1011||
This app was launched by another app to provide a customized printing experience for a 3D printer. Introduced in Windows 10, version 1507 (10.0.10240).
|PrintTaskSettings PrintTaskSettings PrintTaskSettings PrintTaskSettings PrintTaskSettings||10||
The app handles print tasks.
|PrintWorkflowForegroundTask PrintWorkflowForegroundTask PrintWorkflowForegroundTask PrintWorkflowForegroundTask PrintWorkflowForegroundTask||1018||
The app was activated because the user is printing to a printer that has a Print Workflow Application associated with it which has requested user input.
|Protocol Protocol Protocol Protocol Protocol||4||
An app launched a URI whose scheme name this app is registered to handle.
|ProtocolForResults ProtocolForResults ProtocolForResults ProtocolForResults ProtocolForResults||1009||
The app was launched by another app with the expectation that it will return a result back to the caller. Introduced in Windows 10, version 1507 (10.0.10240).
|RestrictedLaunch RestrictedLaunch RestrictedLaunch RestrictedLaunch RestrictedLaunch||12||
Windows Store only. The user launched the restricted app.
|Search Search Search Search Search||1||
The user wants to search with the app.
|ShareTarget ShareTarget ShareTarget ShareTarget ShareTarget||2||
The app is activated as a target for share operations.
|StartupTask StartupTask StartupTask StartupTask StartupTask||1020||
The app was activated because the app is specified to launch at system startup or user log-in. Introduced in Windows 10, version 1703 (10.0.15063).
|ToastNotification ToastNotification ToastNotification ToastNotification ToastNotification||1010||
The app was activated when a user tapped on the body of a toast notification or performed an action inside a toast notification. Introduced in Windows 10, version 1507 (10.0.10240).
|UserDataAccountsProvider UserDataAccountsProvider UserDataAccountsProvider UserDataAccountsProvider UserDataAccountsProvider||1014||
The app was launched to handle the user interface for account management. In circumstances where the system would have shown the default system user interface, it instead has invoked your app with the UserDataAccountProvider contract. The activation payload contains information about the type of operation being requested and all the information necessary to replicate the system-provided user interface. This activation kind is limited to 1st party apps. To use this field, you must add the userDataAccountsProvider capability in your app's package manifest. For more info see App capability declarations. Introduced in Windows 10, version 1607 (10.0.14393).
|VoiceCommand VoiceCommand VoiceCommand VoiceCommand VoiceCommand||16||
The app was activated as the result of a voice command.
Not supported in Windows 8 and Windows 8.1 apps.
|WalletAction WalletAction WalletAction WalletAction WalletAction||1001||
Windows Phone only. The app was activated to perform a Wallet operation.
|WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider WebAccountProvider||1006||
The app was activated by a web account provider. Introduced in Windows 10, version 1507 (10.0.10240).
|WebAuthenticationBrokerContinuation WebAuthenticationBrokerContinuation WebAuthenticationBrokerContinuation WebAuthenticationBrokerContinuation WebAuthenticationBrokerContinuation||1005||
Windows Phone only. The app was activated after the app was suspended for a web authentication broker operation.
Values are mutually exclusive and cannot be combined. Each one relates to a different type of activation, and an app instance can be activated in only one way at a time.
For more information about app activation, see the remarks on the Application.OnActivated(IActivatedEventArgs) page.
|Version||SDK version||Value added|
Send feedback about: