Dela via


BackgroundEnergyManager.NearMaxAcceptableUsageLevel Property

Definition

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

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

Property Value

UInt32

unsigned int

uint32_t

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

Attributes

Remarks

A background task operating at this level is getting close to the maximum acceptable level.

Applies to