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 BackgroundWorkCost
public static class BackgroundWorkCost
Public Static Class BackgroundWorkCost
// This class does not provide a public constructor.
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
var backgroundWorkCostValue = Windows.ApplicationModel.Background.BackgroundWorkCost.currentBackgroundWorkCost;
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.