DevicePairingAddPairingSetMemberStatus Enum
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.
Defines constants that specify a status value describing the result of adding member(s) to a pairing set. For more info, and code examples, see Pairing a set with the DeviceInformationPairing.Custom property. See DevicePairingSetMembersRequestedEventArgs.Status.
public enum class DevicePairingAddPairingSetMemberStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
enum class DevicePairingAddPairingSetMemberStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
public enum DevicePairingAddPairingSetMemberStatus
var value = Windows.Devices.Enumeration.DevicePairingAddPairingSetMemberStatus.addedToSet
Public Enum DevicePairingAddPairingSetMemberStatus
- Inheritance
-
DevicePairingAddPairingSetMemberStatus
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Fields
Name | Value | Description |
---|---|---|
AddedToSet | 0 | Specifies that set member(s) were added successfully to the set. This status applies to a call to DeviceInformationCustomPairing.AddPairingSetMember, and indicates that you can expect the successfully added set member(s) to be in the DevicePairingSetMembersRequestedEventArgs.PairingSetMembers vector. |
CouldNotBeAddedToSet | 1 | Specifies that set member(s) couldn't be added to the set. This status applies to a call to DeviceInformationCustomPairing.AddPairingSetMember, and indicates that you can expect the set member(s) that couldn't be added to be in the DevicePairingSetMembersRequestedEventArgs.PairingSetMembers vector. |
SetDiscoveryNotAttemptedByProtocol | 2 | Specifies that the protocol didn't attempt to discover set members. The protocol probably doesn't support it. |
SetDiscoveryCompletedByProtocol | 3 | Specifies that the protocol successfully enumerated all set members. No further discovery will happen. |
SetDiscoveryPartiallyCompletedByProtocol | 4 | Specifies that the protocol discovered some set members, but not all of them. No further discovery will happen. |
Failed | 5 | Specifies that an unknown failure occurred, for which we have no mapping. |