AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo AppDiagnosticInfo Class

Definition

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

public : sealed class AppDiagnosticInfo : IAppDiagnosticInfo, IAppDiagnosticInfo2
struct winrt::Windows::System::AppDiagnosticInfo : IAppDiagnosticInfo, IAppDiagnosticInfo2
public sealed class AppDiagnosticInfo : IAppDiagnosticInfo, IAppDiagnosticInfo2
Public NotInheritable Class AppDiagnosticInfo Implements IAppDiagnosticInfo, IAppDiagnosticInfo2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
appDiagnostics

Properties

AppInfo AppInfo AppInfo AppInfo AppInfo

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

Methods

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