WebProviderTokenRequest.CheckApplicationForCapabilityAsync(String) 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.
Determines if the calling application fulfills a given SSO capability.
public:
virtual IAsyncOperation<bool> ^ CheckApplicationForCapabilityAsync(Platform::String ^ capabilityName) = CheckApplicationForCapabilityAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> CheckApplicationForCapabilityAsync(winrt::hstring const& capabilityName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> CheckApplicationForCapabilityAsync(string capabilityName);
function checkApplicationForCapabilityAsync(capabilityName)
Public Function CheckApplicationForCapabilityAsync (capabilityName As String) As IAsyncOperation(Of Boolean)
Parameters
- capabilityName
-
String
Platform::String
winrt::hstring
The name of the capability to check for.
Returns
An asynchronous operation with a boolean value. True if the application supports the given capability, otherwise False.
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|