ILauncher.CanOpenAsync(Uri) Method

Definition

Queries if the device supports opening the given URI scheme.

public:
 System::Threading::Tasks::Task<bool> ^ CanOpenAsync(Uri ^ uri);
public System.Threading.Tasks.Task<bool> CanOpenAsync (Uri uri);
abstract member CanOpenAsync : Uri -> System.Threading.Tasks.Task<bool>
Public Function CanOpenAsync (uri As Uri) As Task(Of Boolean)

Parameters

uri
Uri

URI scheme to query.

Returns

true if opening is supported, otherwise false.

Exceptions

Thrown when uri is malformed.

Applies to