RemoteSystem.GetCapabilitySupportedAsync(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.
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
|