AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo Class


Contains APIs for getting a basic set of diagnostic information for all running apps.

public : sealed class AppDiagnosticInfo
struct winrt::Windows::System::AppDiagnosticInfo
public sealed class AppDiagnosticInfo
Public NotInheritable Class AppDiagnosticInfo
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


Version history

Windows version SDK version Value added
1709 16299 CreateResourceGroupWatcher
1709 16299 CreateWatcher
1709 16299 GetResourceGroups
1709 16299 RequestAccessAsync
1709 16299 RequestInfoForAppAsync
1709 16299 RequestInfoForAppAsync(String)
1709 16299 RequestInfoForPackageAsync
1803 17134 LaunchAsync


AppInfo AppInfo AppInfo AppInfo AppInfo

Provides info about the app's package family name and package-relative app name.


CreateResourceGroupWatcher() CreateResourceGroupWatcher() CreateResourceGroupWatcher() CreateResourceGroupWatcher() CreateResourceGroupWatcher()

Creates a ResourceGroupInfoWatcher that monitors the execution state of an app or task, and provides notifications when its state changes.

CreateWatcher() CreateWatcher() CreateWatcher() CreateWatcher() CreateWatcher()

Creates an **AppDiagnosticInfoWatcher** that monitors information about the execution state of an app, and provides notifications when its state changes.

GetResourceGroups() GetResourceGroups() GetResourceGroups() GetResourceGroups() GetResourceGroups()

Gets diagnostic information such as memory usage over time, energy use over time, and so on, for each resource group in the app.

LaunchAsync() LaunchAsync() LaunchAsync() LaunchAsync() LaunchAsync()

Launches the app associated with the diagnostic info.

RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()

Asynchronously requests access to diagnostic information.

RequestInfoAsync() RequestInfoAsync() RequestInfoAsync() RequestInfoAsync() RequestInfoAsync()

Gets a collection of AppDiagnosticInfo objects for all running apps that have a package family name.

RequestInfoForAppAsync() RequestInfoForAppAsync() RequestInfoForAppAsync() RequestInfoForAppAsync() RequestInfoForAppAsync()

Gets a collection of AppDiagnosticInfo objects for all running instances of this app.

RequestInfoForAppAsync(String) RequestInfoForAppAsync(String) RequestInfoForAppAsync(String) RequestInfoForAppAsync(String) RequestInfoForAppAsync(String)

Gets a collection of AppDiagnosticInfo objects for all instances of the specified running app.

RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String)

Gets a collection of AppDiagnosticInfo objects for all instances of the specified app package.

See also