ApplicationTriggerResult
ApplicationTriggerResult
ApplicationTriggerResult
ApplicationTriggerResult
Enum
Definition
The result of the request to trigger a background task. The RequestAsync method returns a value of this enumeration type.
public : enum class ApplicationTriggerResultpublic enum ApplicationTriggerResultPublic Enum ApplicationTriggerResult// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Allowed Allowed Allowed Allowed | The trigger has been set. The task will run, unless an exception is thrown in the background infrastructure. |
| CurrentlyRunning CurrentlyRunning CurrentlyRunning CurrentlyRunning | The system denied triggering the background task because it is currently running. |
| DisabledByPolicy DisabledByPolicy DisabledByPolicy DisabledByPolicy | A system policy doesn't allow this background task to be triggered. |
| UnknownError UnknownError UnknownError UnknownError | The background task cannot be triggered because of an unknown issue. |