Share via


BackgroundEnergyManager.NearTerminationUsageLevel Property

Definition

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

public:
 static property unsigned int NearTerminationUsageLevel { unsigned int get(); };
static uint32_t NearTerminationUsageLevel();
/// [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 NearTerminationUsageLevel();
public static uint NearTerminationUsageLevel { get; }
public static uint NearTerminationUsageLevel { [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.nearTerminationUsageLevel;
Public Shared ReadOnly Property NearTerminationUsageLevel As UInteger

Property Value

UInt32

unsigned int

uint32_t

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

Attributes

Remarks

A background task operating at this level is at risk of being terminated by the operating system (if it's not directly contributing to the foreground experience).

Applies to