DeviceInformationPairing.TryRegisterForAllInboundPairingRequests 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.
Registers the application to handle all inbound pairing requests.
public:
static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds pairingKindsSupported);
static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds const& pairingKindsSupported);
public static bool TryRegisterForAllInboundPairingRequests(DevicePairingKinds pairingKindsSupported);
function tryRegisterForAllInboundPairingRequests(pairingKindsSupported)
Public Shared Function TryRegisterForAllInboundPairingRequests (pairingKindsSupported As DevicePairingKinds) As Boolean
Parameters
- pairingKindsSupported
- DevicePairingKinds
The pairing kinds your app supports.
Returns
Boolean
bool
Whether or not the attempt was successful.
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Remarks
This API only works with Windows 10 IoT Core (IoT Core) applications.