ILauncher.CanOpenAsync(Uri) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.