AppDiagnosticInfo.RequestInfoForAppAsync Method

Definition

Overloads

RequestInfoForAppAsync()

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

RequestInfoForAppAsync(String)

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

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();
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("RequestInfoForAppAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync();
function requestInfoForAppAsync()
Public Shared Function RequestInfoForAppAsync () As IAsyncOperation(Of IList(Of AppDiagnosticInfo))

Returns

Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

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

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 const & appUserModelId);
[Windows.Foundation.Metadata.Overload("RequestInfoForAppUserModelId")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IList<AppDiagnosticInfo>> RequestInfoForAppAsync(string appUserModelId);
function requestInfoForAppAsync(appUserModelId)
Public Shared Function RequestInfoForAppAsync (appUserModelId As String) As IAsyncOperation(Of IList(Of AppDiagnosticInfo))

Parameters

appUserModelId
String

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

Returns

Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
appDiagnostics

Remarks

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

Applies to