Launcher.QueryAppUriSupportAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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。
- 屬性
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)
參數
- 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 傳統型應用程式。