Compartilhar via


DeviceInformationCustomPairing.PairingSetMembersRequested Evento

Definição

Gerado quando os membros de um conjunto de emparelhamento são solicitados. Para obter mais informações e exemplos de código, consulte Emparelhando um conjunto com a propriedade DeviceInformationPairing.Custom.

// Register
event_token PairingSetMembersRequested(TypedEventHandler<DeviceInformationCustomPairing, DevicePairingSetMembersRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void PairingSetMembersRequested(event_token const* cookie) const;

// Revoke with event_revoker
DeviceInformationCustomPairing::PairingSetMembersRequested_revoker PairingSetMembersRequested(auto_revoke_t, TypedEventHandler<DeviceInformationCustomPairing, DevicePairingSetMembersRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<DeviceInformationCustomPairing,DevicePairingSetMembersRequestedEventArgs> PairingSetMembersRequested;
function onPairingSetMembersRequested(eventArgs) { /* Your code */ }
deviceInformationCustomPairing.addEventListener("pairingsetmembersrequested", onPairingSetMembersRequested);
deviceInformationCustomPairing.removeEventListener("pairingsetmembersrequested", onPairingSetMembersRequested);
- or -
deviceInformationCustomPairing.onpairingsetmembersrequested = onPairingSetMembersRequested;
Public Custom Event PairingSetMembersRequested As TypedEventHandler(Of DeviceInformationCustomPairing, DevicePairingSetMembersRequestedEventArgs) 

Tipo de evento

Requisitos do Windows

Família de dispositivos
Windows 11, version 24H2 (introduzida na 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v19.0)

Aplica-se a

Confira também