Share via


Launcher.CanOpenAsync Method

Definition

Overloads

CanOpenAsync(String)

Queries if device supports opening the uri scheme

CanOpenAsync(Uri)

Queries if device supports opening the uri scheme

CanOpenAsync(String)

Queries if device supports opening the uri scheme

public static System.Threading.Tasks.Task<bool> CanOpenAsync (string uri);

Parameters

uri
System.String

string uri scheme

Returns

System.Threading.Tasks.Task<System.Boolean>

True if opening is supported, otherwise false

Remarks

May throw System.UriFormatException if uri is malformed

Applies to

CanOpenAsync(Uri)

Queries if device supports opening the uri scheme

public static System.Threading.Tasks.Task<bool> CanOpenAsync (Uri uri);

Parameters

uri
System.Uri

uri scheme

Returns

System.Threading.Tasks.Task<System.Boolean>

True if opening is supported, otherwise false

Remarks

May throw System.UriFormatException if uri is malformed

Applies to