Launcher.QueryAppUriSupportAsync 方法

定义

重载

QueryAppUriSupportAsync(Uri)

异步查询是否有可以处理指定 URI 的应用。

QueryAppUriSupportAsync(Uri, String)

异步查询指定的应用是否可以处理指定的 URI。

QueryAppUriSupportAsync(Uri)

异步查询是否有可以处理指定 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)

参数

uri
Uri Uri

网站的 URI。

返回

一个 值,该值指示应用程序是否可用于处理 URI。

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

注解

不考虑 Windows 桌面应用程序。

另请参阅

适用于

QueryAppUriSupportAsync(Uri, String)

异步查询指定的应用是否可以处理指定的 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)

参数

uri
Uri Uri

网站的 URI。

packageFamilyName
String

Platform::String

winrt::hstring

指定将用于启动此 URI 的特定包。

返回

一个 值,该值指示应用程序是否可用于启动 URI。

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

注解

不考虑 Windows 桌面应用程序。

另请参阅

适用于