AppResourceGroupStateReport 类

定义

提供资源组的执行状态和能源配额使用情况等信息。

public ref class AppResourceGroupStateReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppResourceGroupStateReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppResourceGroupStateReport
Public NotInheritable Class AppResourceGroupStateReport
继承
Object Platform::Object IInspectable AppResourceGroupStateReport
属性

Windows 要求

要求 说明
设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)
应用功能
appDiagnostics

属性

名称 说明
EnergyQuotaState

获取资源组的能源配额状态,例如,它是否低于配额或超出配额。

ExecutionState

获取资源组的执行状态,例如是否挂起、正在运行等。

适用于