Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ExtendedExecutionForegroundReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the reason for the extended execution request.
public enum class ExtendedExecutionForegroundReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class 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 requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | 0 | No reason specified. |
| SavingData | 1 | To save data. |
| BackgroundAudio | 2 | To play audio. |
| Unconstrained | 3 | To perform any task that requires extended execution time. |
Applies to
Feedback
Was this page helpful?
