ExtendedExecutionReason ExtendedExecutionReason ExtendedExecutionReason ExtendedExecutionReason ExtendedExecutionReason Enum

Definition

Describes the reason for the background execution request.

public : enum class ExtendedExecutionReason
enum class winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason : int32_t
public enum ExtendedExecutionReason
Public Enum ExtendedExecutionReason
var value = Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason.locationTracking;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

LocationTracking LocationTracking LocationTracking LocationTracking LocationTracking 1

To support location tracking.

SavingData SavingData SavingData SavingData SavingData 2

To save data.

Unspecified Unspecified Unspecified Unspecified Unspecified 0

No reason specified.

Remarks

Lifetime data for the various reasons:

Reason Extended execution session lifetime
LocationTracking No limit. Only one app at a time may request this reason.
SavingData 10 minutes maximum.
Unspecified 10 minutes maximum on battery power. No limit when the device is connected to power.