BackgroundEnergyManager.TerminationUsageLevel 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 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
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.