Sdílet prostřednictvím


Launcher.FindUriSchemeHandlersAsync Method

Definition

Overloads

FindUriSchemeHandlersAsync(String)

Enumerate the scheme handlers on the device.

FindUriSchemeHandlersAsync(String, LaunchQuerySupportType)

Enumerate the scheme handlers on the device.

FindUriSchemeHandlersAsync(String)

Enumerate the scheme handlers on the device.

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

Parameters

scheme
String

Platform::String

winrt::hstring

The scheme name that you want to find handlers for. For example, "ms-lens".

Returns

A list of AppInfos for each application that handles the specified scheme.

Attributes

Remarks

This API may also be called from Windows desktop application but does not return Windows desktop application.

See also

Applies to

FindUriSchemeHandlersAsync(String, LaunchQuerySupportType)

Enumerate the scheme handlers on the device.

public:
 static IAsyncOperation<IVectorView<AppInfo ^> ^> ^ FindUriSchemeHandlersAsync(Platform::String ^ scheme, LaunchQuerySupportType launchQuerySupportType);
/// [Windows.Foundation.Metadata.Overload("FindUriSchemeHandlersWithLaunchUriTypeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<AppInfo>> FindUriSchemeHandlersAsync(winrt::hstring const& scheme, LaunchQuerySupportType const& launchQuerySupportType);
[Windows.Foundation.Metadata.Overload("FindUriSchemeHandlersWithLaunchUriTypeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<AppInfo>> FindUriSchemeHandlersAsync(string scheme, LaunchQuerySupportType launchQuerySupportType);
function findUriSchemeHandlersAsync(scheme, launchQuerySupportType)
Public Shared Function FindUriSchemeHandlersAsync (scheme As String, launchQuerySupportType As LaunchQuerySupportType) As IAsyncOperation(Of IReadOnlyList(Of AppInfo))

Parameters

scheme
String

Platform::String

winrt::hstring

The scheme name that you find to find handlers for. For example, "ms-lens".

launchQuerySupportType
LaunchQuerySupportType

Filter the list of handlers by whether they can be launched for results or not.

Returns

A list of AppInfos for each application that handles the specified scheme.

Attributes

Remarks

This API may also be called from Windows desktop application but does not return Windows desktop application.

See also

Applies to