Resource Group Info Class
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.
Provides diagnostic information such as memory usage and energy use.
public ref class AppResourceGroupInfo 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 AppResourceGroupInfo 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 AppResourceGroupInfo
Public NotInheritable Class AppResourceGroupInfo
Windows 10 requirements
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
Windows.Foundation.UniversalApiContract (introduced in v5.0)
Resource groups allow you to group components for the purposes of resource management. If you don't define a group, you will get at least one by default, and possibly more, depending on whether the app has background tasks.
Resource groups are specified in the manifest with the ResourceGroup tag.
|Windows version||SDK version||Value added|
Gets the instance identifier.
Indicates whether the group is part of a shared resource group. Being part of a shared resource group indicates that there are multiple apps in the package and that they share a common component.
Provides information about background tasks such as their entry points, names, task ids, and trigger names.
Provides information about memory usage such as the commit limit, commit usage, and so on.
Gets process diagnostic information for the group such as used CPU time, disk I/O usage, and so on.
Gets the state report information such as execution state, energy quota state, and so on.
Initiate moving the associated app to the active state.
Initiate moving the associated app to the suspended state.
Initiate moving the associated app to the terminated state.