Dela via


AppServiceCatalog.FindAppServiceProvidersAsync(String) Method

Definition

Returns the list of app service providers that match a specific app service name on the device.

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))

Parameters

appServiceName
String

Platform::String

winrt::hstring

The name of the app service to find.

Returns

A list of AppInfos for the app service provider(s) that are available for the specified app service name.

Tip

In C++, the return value is IAsyncOperation<IVectorView<AppInfo>>

Attributes

Applies to