共用方式為


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

取得資源群組的執行狀態,例如是否暫停、執行等等。

適用於