AppDiagnosticInfo.RequestInfoForAppAsync AppDiagnosticInfo.RequestInfoForAppAsync AppDiagnosticInfo.RequestInfoForAppAsync AppDiagnosticInfo.RequestInfoForAppAsync AppDiagnosticInfo.RequestInfoForAppAsync Method

Definition

Overloads

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.

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

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

public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync()
static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync() const;
public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync()
Public Shared Function RequestInfoForAppAsync() As IAsyncOperation<IList<AppDiagnosticInfo>>(Of IVector)
Windows.System.AppDiagnosticInfo.requestInfoForAppAsync().done( /* Your success and error handlers */ );

Returns

IAsyncOperation<IList<AppDiagnosticInfo>> IAsyncOperation<IList<AppDiagnosticInfo>> IAsyncOperation<IList<AppDiagnosticInfo>>

A collection of AppDiagnosticInfo objects for all running instances of this app.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

When an app calls this method, it is calling about itself and there is no capability check.

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

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

public : static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync(Platform::String appUserModelId)
static IAsyncOperation<IVector<AppDiagnosticInfo>> RequestInfoForAppAsync(winrt::hstring appUserModelId) const;
public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync(String appUserModelId)
Public Shared Function RequestInfoForAppAsync(appUserModelId As String) As IAsyncOperation<IList<AppDiagnosticInfo>>(Of IVector)
Windows.System.AppDiagnosticInfo.requestInfoForAppAsync(appUserModelId).done( /* Your success and error handlers */ );

Parameters

appUserModelId
String String String

The identifier of the running app for which to get the AppDiagnosticInfo.

Returns

IAsyncOperation<IList<AppDiagnosticInfo>> IAsyncOperation<IList<AppDiagnosticInfo>> IAsyncOperation<IList<AppDiagnosticInfo>>

A collection of AppDiagnosticInfo objects for all instances of the app specified by appUserModelId.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
Capabilities
appDiagnostics

Remarks

Calling this method will result in a capability check and a user prompt to authorize this action.