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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.