Launcher.QueryUriSupportAsync 方法

定义

重载

QueryUriSupportAsync(Uri, LaunchQuerySupportType)

异步查询是否可以为指定的 URI 和启动类型激活应用。

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String)

异步查询是否可以为指定的 URI、启动类型和包名称激活应用。

QueryUriSupportAsync(Uri, LaunchQuerySupportType)

异步查询是否可以为指定的 URI 和启动类型激活应用。

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)

参数

uri
Uri Uri

要查询其支持的 URI。

launchQuerySupportType
LaunchQuerySupportType

要查询其支持的启动类型。

返回

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

属性

注解

也可以从 Windows 桌面应用程序调用此 API。

考虑 Windows 桌面应用程序和通用 Windows 平台 (UWP) 应用。

另请参阅

适用于

QueryUriSupportAsync(Uri, LaunchQuerySupportType, String)

异步查询是否可以为指定的 URI、启动类型和包名称激活应用。

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)

参数

uri
Uri Uri

要查询其支持的 URI。

launchQuerySupportType
LaunchQuerySupportType

要查询其支持的启动类型。

packageFamilyName
String

Platform::String

winrt::hstring

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

返回

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

属性

注解

也可以从 Windows 桌面应用程序调用此 API。

考虑 Windows 桌面应用程序和通用 Windows 平台 (UWP) 应用。

另请参阅

适用于