Launcher.QueryUriSupportAsync Launcher.QueryUriSupportAsync Launcher.QueryUriSupportAsync Launcher.QueryUriSupportAsync Launcher.QueryUriSupportAsync Method

Definition

Overloads

QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType)

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

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String)

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

QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) QueryUriSupportAsync(Uri, LaunchQuerySupportType) 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)
static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri uri, LaunchQuerySupportType launchQuerySupportType) const;
public static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri uri, LaunchQuerySupportType launchQuerySupportType)
Public Shared Function QueryUriSupportAsync(uri As Uri, launchQuerySupportType As LaunchQuerySupportType) As IAsyncOperation(Of LaunchQuerySupportStatus)
Windows.System.Launcher.queryUriSupportAsync(uri, launchQuerySupportType).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

The URI for which to query support.

launchQuerySupportType
LaunchQuerySupportType 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.

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

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) QueryUriSupportAsync(Uri, LaunchQuerySupportType, String) 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)
static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri uri, LaunchQuerySupportType launchQuerySupportType, winrt::hstring packageFamilyName) const;
public static IAsyncOperation<LaunchQuerySupportStatus> QueryUriSupportAsync(Uri uri, LaunchQuerySupportType launchQuerySupportType, String packageFamilyName)
Public Shared Function QueryUriSupportAsync(uri As Uri, launchQuerySupportType As LaunchQuerySupportType, packageFamilyName As String) As IAsyncOperation(Of LaunchQuerySupportStatus)
Windows.System.Launcher.queryUriSupportAsync(uri, launchQuerySupportType, packageFamilyName).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

The URI for which to query support.

launchQuerySupportType
LaunchQuerySupportType LaunchQuerySupportType LaunchQuerySupportType

The type of launch for which to query support.

packageFamilyName
String String String

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.

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