AppDiagnosticInfo.RequestInfoForAppAsync 方法

定義

多載

RequestInfoForAppAsync()

取得此應用程式所有執行中實例的 AppDiagnosticInfo 物件集合。

RequestInfoForAppAsync(String)

取得指定之應用程式之所有實例的 AppDiagnosticInfo 物件集合。

RequestInfoForAppAsync()

取得此應用程式所有執行中實例的 AppDiagnosticInfo 物件集合。

public:
 static IAsyncOperation<IVector<AppDiagnosticInfo ^> ^> ^ RequestInfoForAppAsync();
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("RequestInfoForAppAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 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))

傳回

此應用程式所有執行中實例的 AppDiagnosticInfo 物件集合。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

當應用程式呼叫這個方法時,它會呼叫本身,而且沒有功能檢查。

適用於

RequestInfoForAppAsync(String)

取得指定之應用程式之所有實例的 AppDiagnosticInfo 物件集合。

public:
 static IAsyncOperation<IVector<AppDiagnosticInfo ^> ^> ^ RequestInfoForAppAsync(Platform::String ^ appUserModelId);
/// [Windows.Foundation.Metadata.Overload("RequestInfoForAppUserModelId")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 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))

參數

appUserModelId
String

Platform::String

winrt::hstring

要取得 AppDiagnosticInfo之應用程式的識別碼。

傳回

AppUserModelId所指定所有應用程式實例的AppDiagnosticInfo物件集合。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)
應用程式功能
appDiagnostics

備註

呼叫此方法會導致功能檢查和使用者提示來授權此動作。

適用於