BackgroundEnergyManager.TerminationUsageLevel 属性

定义

获取终止使用级别,以正常能源使用量的百分比表示。

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

属性值

UInt32

unsigned int

uint32_t

终止使用级别,以正常能源使用量的百分比表示。

属性

注解

如果在此级别运行的后台任务不直接影响前台体验,则操作系统将终止该任务。

适用于