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
String

string uri scheme

Returns

True if opening is supported, otherwise false

Remarks

May throw System.UriFormatException if uri is malformed

CanOpenAsync(Uri)

Queries if device supports opening the uri scheme

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

Parameters

uri
Uri

uri scheme

Returns

True if opening is supported, otherwise false

Remarks

May throw System.UriFormatException if uri is malformed

Applies to