Launcher.TryOpenAsync Method

Definition

Overloads

TryOpenAsync(String)

Launches the app specified by the uri scheme and returns if it was supported or not

TryOpenAsync(Uri)

Launches the app specified by the uri scheme and returns if it was supported or not

TryOpenAsync(String)

Launches the app specified by the uri scheme and returns if it was supported or not

public static System.Threading.Tasks.Task<bool> TryOpenAsync (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

Applies to

TryOpenAsync(Uri)

Launches the app specified by the uri scheme and returns if it was supported or not

public static System.Threading.Tasks.Task<bool> TryOpenAsync (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