DevicePairingAddPairingSetMemberStatus Enum

Definition

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 Insider Preview (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Fields

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.

Failed 5

Specifies that an unknown failure occurred, for which we have no mapping.

SetDiscoveryCompletedByProtocol 3

Specifies that the protocol successfully enumerated all set members. No further discovery will happen.

SetDiscoveryNotAttemptedByProtocol 2

Specifies that the protocol didn't attempt to discover set members. The protocol probably doesn't support it.

SetDiscoveryPartiallyCompletedByProtocol 4

Specifies that the protocol discovered some set members, but not all of them. No further discovery will happen.

Applies to

See also