AppServiceCatalog.FindAppServiceProvidersAsync(String) 方法

定义

返回与设备上的特定应用服务名称匹配的应用服务提供商列表。

public:
 static IAsyncOperation<IVectorView<AppInfo ^> ^> ^ FindAppServiceProvidersAsync(Platform::String ^ appServiceName);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<AppInfo>> FindAppServiceProvidersAsync(winrt::hstring const& appServiceName);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<AppInfo>> FindAppServiceProvidersAsync(string appServiceName);
function findAppServiceProvidersAsync(appServiceName)
Public Shared Function FindAppServiceProvidersAsync (appServiceName As String) As IAsyncOperation(Of IReadOnlyList(Of AppInfo))

参数

appServiceName
String

Platform::String

winrt::hstring

要查找的应用服务的名称。

返回

应用服务提供商的 AppInfo列表 (可用于指定应用服务名称的) 。

提示

在 C++ 中,返回值为 IAsyncOperation<IVectorView<AppInfo>>

属性

适用于