Device​Trigger​Result Device​Trigger​Result Device​Trigger​Result Device​Trigger​Result Enum

Definition

Indicates whether the device background task operation was allowed or denied, and if it was denied specifies the reason.

public : enum class DeviceTriggerResultpublic enum DeviceTriggerResultPublic Enum DeviceTriggerResult// 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 device background task was triggered.

DeniedBySystem DeniedBySystem DeniedBySystem DeniedBySystem

The device background task was denied due to system policy.

DeniedByUser DeniedByUser DeniedByUser DeniedByUser

The device background task was denied by the user.

LowBattery LowBattery LowBattery LowBattery

The device background task cannot run because the battery is low.