AppDiagnosticInfo
AppDiagnosticInfo
AppDiagnosticInfo
AppDiagnosticInfo
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Contains APIs for getting a basic set of diagnostic information for all running apps.
public : sealed class AppDiagnosticInfo : IAppDiagnosticInfo, IAppDiagnosticInfo2public sealed class AppDiagnosticInfo : IAppDiagnosticInfo, IAppDiagnosticInfo2Public NotInheritable Class AppDiagnosticInfo Implements IAppDiagnosticInfo, IAppDiagnosticInfo2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
| Capabilities |
appDiagnostics
|
Properties
Methods
CreateResourceGroupWatcher() CreateResourceGroupWatcher() CreateResourceGroupWatcher() CreateResourceGroupWatcher()
Prerelease. Creates a ResourceGroupInfoWatcher that monitors the execution state of an app or task, and provides notifications when its state changes.
public : ResourceGroupInfoWatcher CreateResourceGroupWatcher()public ResourceGroupInfoWatcher CreateResourceGroupWatcher()Public Function CreateResourceGroupWatcher() As ResourceGroupInfoWatcher// You can use this method in JavaScript.
A ResourceGroupInfoWatcher that can be used to monitor diagnostic info.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
CreateWatcher() CreateWatcher() CreateWatcher() CreateWatcher()
Prerelease. Creates an AppDiagnosticInfoWatcher that monitors information about the execution state of an app, and provides notifications when its state changes.
public : static AppDiagnosticInfoWatcher CreateWatcher()public static AppDiagnosticInfoWatcher CreateWatcher()Public Static Function CreateWatcher() As AppDiagnosticInfoWatcher// You can use this method in JavaScript.
An AppDiagnosticInfoWatcher that can be used to monitor diagnostic info.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
GetResourceGroups() GetResourceGroups() GetResourceGroups() GetResourceGroups()
Prerelease. Gets diagnostic information such as memory usage over time, energy use over time, and so on, for each resource group in the app.
public : IVector<ResourceGroupInfo> GetResourceGroups()public IList<ResourceGroupInfo> GetResourceGroups()Public Function GetResourceGroups() As IList( Of ResourceGroupInfo )// You can use this method in JavaScript.
Diagnostic info for each resource group in the app.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()
Prerelease. Asynchronously requests access to diagnostic information.
public : static IAsyncOperation<DiagnosticAccessStatus> RequestAccessAsync()public static IAsyncOperation<DiagnosticAccessStatus> RequestAccessAsync()Public Static Function RequestAccessAsync() As IAsyncOperation( Of DiagnosticAccessStatus )// You can use this method in JavaScript.
Returns an async operation with a DiagnosticAccessStatus value indicating the level of diagnostic info available to this app.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
RequestInfoAsync() RequestInfoAsync() RequestInfoAsync() RequestInfoAsync()
Gets a collection of AppDiagnosticInfo objects for all running apps that have a package family name.
public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoAsync()public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoAsync()Public Static Function RequestInfoAsync() As IAsyncOperation( Of IListAppDiagnosticInfo )// You can use this method in JavaScript.
A list of AppDiagnosticInfo objects for all running apps that have a package family name.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
| Capabilities |
appDiagnostics
|
Remarks
This method must be called from a UI thread the first time it is used by an application.
RequestInfoForAppAsync() RequestInfoForAppAsync() RequestInfoForAppAsync() RequestInfoForAppAsync()
Prerelease. Gets a collection of AppDiagnosticInfo objects for all running instances of this app.
public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync()public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync()Public Static Function RequestInfoForAppAsync() As IAsyncOperation( Of IListAppDiagnosticInfo )// You can use this method in JavaScript.
A collection of AppDiagnosticInfo objects for all running instances of this app.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
RequestInfoForAppAsync(String) RequestInfoForAppAsync(String) RequestInfoForAppAsync(String) RequestInfoForAppAsync(String)
Prerelease. Gets a collection of AppDiagnosticInfo objects for all instances of the specified running app.
public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync(PlatForm::String aumid)public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync(String aumid)Public Static Function RequestInfoForAppAsync(aumid As String) As IAsyncOperation( Of IListAppDiagnosticInfo )// You can use this method in JavaScript.
- aumid
- PlatForm::String String String String
A collection of AppDiagnosticInfo objects for all instances of the app specified by appUserModelId.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String) RequestInfoForPackageAsync(String)
Prerelease. Gets a collection of AppDiagnosticInfo objects for all instances of the specified app package.
public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForPackageAsync(PlatForm::String packageFamilyName)public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForPackageAsync(String packageFamilyName)Public Static Function RequestInfoForPackageAsync(packageFamilyName As String) As IAsyncOperation( Of IListAppDiagnosticInfo )// You can use this method in JavaScript.
- packageFamilyName
- PlatForm::String String String String
The identifier of the app package for which to get the AppDiagnosticInfo.
A collection of AppDiagnosticInfo objects for all instances of the app package specified by packageFamilyName.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|