Launcher.CanOpenAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
True if opening is supported, otherwise false
Remarks
May throw System.UriFormatException if uri is malformed