ExtendedExecutionForegroundReason Enum

Definition

Describes the reason for the extended execution request.

public enum class ExtendedExecutionForegroundReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum ExtendedExecutionForegroundReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ExtendedExecutionForegroundReason
var value = Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundReason.unspecified
Public Enum ExtendedExecutionForegroundReason
Inheritance
ExtendedExecutionForegroundReason
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

BackgroundAudio 2

To play audio.

SavingData 1

To save data.

Unconstrained 3

To perform any task that requires extended execution time.

Unspecified 0

No reason specified.

Applies to