Share via


WebProviderTokenRequest.CheckApplicationForCapabilityAsync(String) Method

Definition

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)

Applies to