Share via


DeviceInformationPairing.UnpairAsync Method

Definition

Attempts to unpair the device.

public:
 virtual IAsyncOperation<DeviceUnpairingResult ^> ^ UnpairAsync() = UnpairAsync;
/// [Windows.Foundation.Metadata.Overload("UnpairAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DeviceUnpairingResult> UnpairAsync();
[Windows.Foundation.Metadata.Overload("UnpairAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DeviceUnpairingResult> UnpairAsync();
function unpairAsync()
Public Function UnpairAsync () As IAsyncOperation(Of DeviceUnpairingResult)

Returns

The result of the unpairing action.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to