Windows Dev Center

BackgroundWorkCostValue enumeration

Indicates the current cost of doing background work. Used as a hint to background tasks about how much work they can do.

Syntax


public enum BackgroundWorkCostValue

Members

The BackgroundWorkCostValue enumeration has these members.

MemberValueDescription
Low | low0

Background resource usage is low. The background task can do work.

Medium | medium1

Background resources are in use, but the background task can do some work.

High | high2

Background resources are under heavy use and the background task should not do any work.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft