BackgroundEnergyManager.NearTerminationUsageLevel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取接近终止的使用级别,以正常能源使用量的百分比表示。
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
属性值
接近终止的使用级别,以正常能源使用量的百分比表示。
- 属性
注解
在此级别运行的后台任务有被操作系统 (终止的风险,如果它不直接影响前台体验) 。