BackgroundWorkCost class

Applies to Windows and Windows Phone

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.

Syntax


public static class BackgroundWorkCost

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The BackgroundWorkCost class has these types of members:

Properties

The BackgroundWorkCost class has these properties.

PropertyAccess typeDescription

CurrentBackgroundWorkCost

Read-onlyRetrieves a hint about resource availability for background tasks.

 

Remarks

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft