Share via


Launcher.QueryUriSupportAsync Method

Definition

Overloads

QueryUriSupportAsync(Uri, LaunchQuerySupportType)

Asynchronously query whether an app can be activated for the specified URI and launch type.

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String)

Asynchronously query whether an app can be activated for the specified URI, launch type, and package name.

QueryUriSupportAsync(Uri, LaunchQuerySupportType)

Asynchronously query whether an app can be activated for the specified URI and launch type.

public:
 static IAsyncOperation<LaunchQuerySupportStatus> ^ QueryUriSupportAsync(Uri ^ uri, LaunchQuerySupportType launchQuerySupportType);
/// [Windows.Foundation.Metadata.Overload("QueryUriSupportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri const& uri, LaunchQuerySupportType const& launchQuerySupportType);
[Windows.Foundation.Metadata.Overload("QueryUriSupportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(System.Uri uri, LaunchQuerySupportType launchQuerySupportType);
function queryUriSupportAsync(uri, launchQuerySupportType)
Public Shared Function QueryUriSupportAsync (uri As Uri, launchQuerySupportType As LaunchQuerySupportType) As IAsyncOperation(Of LaunchQuerySupportStatus)

Parameters

uri
Uri Uri

The URI for which to query support.

launchQuerySupportType
LaunchQuerySupportType

The type of launch for which to query support.

Returns

A value that indicates whether an application is available to launch the URI.

Attributes

Remarks

This API may also be called from Windows desktop application.

Both Windows desktop application and Universal Windows Platform (UWP) app are considered.

See also

Applies to

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String)

Asynchronously query whether an app can be activated for the specified URI, launch type, and package name.

public:
 static IAsyncOperation<LaunchQuerySupportStatus> ^ QueryUriSupportAsync(Uri ^ uri, LaunchQuerySupportType launchQuerySupportType, Platform::String ^ packageFamilyName);
/// [Windows.Foundation.Metadata.Overload("QueryUriSupportWithPackageFamilyNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri const& uri, LaunchQuerySupportType const& launchQuerySupportType, winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("QueryUriSupportWithPackageFamilyNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(System.Uri uri, LaunchQuerySupportType launchQuerySupportType, string packageFamilyName);
function queryUriSupportAsync(uri, launchQuerySupportType, packageFamilyName)
Public Shared Function QueryUriSupportAsync (uri As Uri, launchQuerySupportType As LaunchQuerySupportType, packageFamilyName As String) As IAsyncOperation(Of LaunchQuerySupportStatus)

Parameters

uri
Uri Uri

The URI for which to query support.

launchQuerySupportType
LaunchQuerySupportType

The type of launch for which to query support.

packageFamilyName
String

Platform::String

winrt::hstring

Specifies a specific package that will be used to launch this URI.

Returns

A value that indicates whether the application is available to launch the URI.

Attributes

Remarks

This API may also be called from Windows desktop application.

Both Windows desktop application and Universal Windows Platform (UWP) app are considered.

See also

Applies to