BackgroundEnergyManager.NearTerminationUsageLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for