Dela via


BackgroundEnergyManager.TerminationUsageLevel Property

Definition

Gets the termination usage level, expressed as a percentage of normal energy usage.

public:
 static property unsigned int TerminationUsageLevel { unsigned int get(); };
static uint32_t TerminationUsageLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static uint32_t TerminationUsageLevel();
public static uint TerminationUsageLevel { get; }
public static uint TerminationUsageLevel { [Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = BackgroundEnergyManager.terminationUsageLevel;
Public Shared ReadOnly Property TerminationUsageLevel As UInteger

Property Value

UInt32

unsigned int

uint32_t

The termination usage level, expressed as a percentage of normal energy usage.

Attributes

Remarks

A background task operating at this level will be terminated by the operating system if it's not directly contributing to the foreground experience.

Applies to