Jaa


RemoteSystem.GetCapabilitySupportedAsync(String) Method

Definition

Reports whether the RemoteSystem is capable of the given Remote System feature.

public:
 virtual IAsyncOperation<bool> ^ GetCapabilitySupportedAsync(Platform::String ^ capabilityName) = GetCapabilitySupportedAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> GetCapabilitySupportedAsync(winrt::hstring const& capabilityName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> GetCapabilitySupportedAsync(string capabilityName);
function getCapabilitySupportedAsync(capabilityName)
Public Function GetCapabilitySupportedAsync (capabilityName As String) As IAsyncOperation(Of Boolean)

Parameters

capabilityName
String

Platform::String

winrt::hstring

The Remote System capability to check. This should be the value of one of the properties of KnownRemoteSystemCapabilities.

Returns

An asynchronous operation with a value of true if the RemoteSystem is capable, otherwise false.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
remoteSystem

Applies to