DeviceTriggerResult DeviceTriggerResult DeviceTriggerResult DeviceTriggerResult Enum


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

public : enum class DeviceTriggerResult
public enum DeviceTriggerResult
Public Enum DeviceTriggerResult
var value = Windows.ApplicationModel.Background.DeviceTriggerResult.allowed;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.