Share via


DevicePairingSetMembersRequestedEventArgs Class

Definition

Event arguments passed to your handler for the DeviceInformationCustomPairing.PairingSetMembersRequested event, which is raised when the member(s) of a pairing set have been requested.

DevicePairingSetMembersRequestedEventArgs contains: a status indicating success or failure; a vector of the devices/endpoints that were added to the set, or that failed to be added to the set, depending on that status; and info about the parent device.

For more info, and code examples, see Pairing a set with the DeviceInformationPairing.Custom property.

public ref class DevicePairingSetMembersRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DevicePairingSetMembersRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DevicePairingSetMembersRequestedEventArgs
Public NotInheritable Class DevicePairingSetMembersRequestedEventArgs
Inheritance
Object Platform::Object IInspectable DevicePairingSetMembersRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Properties

PairingSetMembers

Gets a vector of the devices/endpoints that were added to the set, or that failed to be added to the set, depending on the value of Status. For more info, and code examples, see Pairing a set with the DeviceInformationPairing.Custom property.

ParentDeviceInformation

Gets the primary device/endpoint of the set. For more info, and code examples, see Pairing a set with the DeviceInformationPairing.Custom property.

Status

Gets 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.

Applies to

See also