BackgroundWorkCost
BackgroundWorkCost
BackgroundWorkCost
BackgroundWorkCost
Class
Definition
Retrieves a hint about resource availability for background tasks. Background tasks can use this hint to decide how much work to do when they are activated.
public : static class BackgroundWorkCostpublic static class BackgroundWorkCostPublic Static Class BackgroundWorkCost// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
CurrentBackgroundWorkCost CurrentBackgroundWorkCost CurrentBackgroundWorkCost CurrentBackgroundWorkCost
Retrieves a hint about resource availability for background tasks.
public : static BackgroundWorkCostValue CurrentBackgroundWorkCost { get; }public static BackgroundWorkCostValue CurrentBackgroundWorkCost { get; }Public Static ReadOnly Property CurrentBackgroundWorkCost As BackgroundWorkCostValue// You can use this property in JavaScript.
- Value
- BackgroundWorkCostValue BackgroundWorkCostValue BackgroundWorkCostValue BackgroundWorkCostValue
A hint about background resource availability. A background task can use this hint to decide how much work to do when it is activated.