StartupTaskState
StartupTaskState
StartupTaskState
StartupTaskState
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Represents the state (enabled, disabled, or disabled by user) of a startup task.
public : enum class StartupTaskStatepublic enum StartupTaskStatePublic Enum StartupTaskState// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.14393.0)
|
| API contract |
Windows.ApplicationModel.StartupTaskContract (introduced v1)
|
Fields
| Disabled Disabled Disabled Disabled | The task is disabled. |
| DisabledByPolicy DisabledByPolicy DisabledByPolicy DisabledByPolicy | Prerelease. The task is disabled by the administrator or group policy. Platforms that don't support startup tasks also report DisabledByPolicy. |
| DisabledByUser DisabledByUser DisabledByUser DisabledByUser | The task was disabled by the user. It can only be re-enabled by the user. |
| Enabled Enabled Enabled Enabled | The task is enabled. |