Udostępnij za pośrednictwem


Launcher.FindAppUriHandlersAsync(Uri) Method

Definition

Enumerate the Uniform Resource Identifiers (URI) handlers on the device.

public:
 static IAsyncOperation<IVectorView<AppInfo ^> ^> ^ FindAppUriHandlersAsync(Uri ^ uri);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<AppInfo>> FindAppUriHandlersAsync(Uri const& uri);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<AppInfo>> FindAppUriHandlersAsync(System.Uri uri);
function findAppUriHandlersAsync(uri)
Public Shared Function FindAppUriHandlersAsync (uri As Uri) As IAsyncOperation(Of IReadOnlyList(Of AppInfo))

Parameters

uri
Uri Uri

The Uri that you want to find handlers for.

Returns

A list of AppInfo objects representing each application that handles the specified http(s) 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

This API may also be called from Windows desktop application but does not return Windows desktop application.

Applies to