Delen via


Launcher.QueryAppUriSupportAsync Method

Definition

Overloads

QueryAppUriSupportAsync(Uri)

Asynchronously query whether there is an app that can handle the specified URI.

QueryAppUriSupportAsync(Uri, String)

Asynchronously query whether the specified app can handle the specified URI.

QueryAppUriSupportAsync(Uri)

Asynchronously query whether there is an app that can handle the specified URI.

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

Parameters

uri
Uri Uri

The URI of the website.

Returns

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

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Windows desktop application are not considered.

See also

Applies to

QueryAppUriSupportAsync(Uri, String)

Asynchronously query whether the specified app can handle the specified URI.

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

Parameters

uri
Uri Uri

The URI of the website.

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Windows desktop application are not considered.

See also

Applies to