Freigeben über


DeviceInformationCustomPairing.PairingSetMembersRequested Ereignis

Definition

Wird ausgelöst, wenn die Member eines Kopplungssatzes angefordert wurden. Weitere Informationen und Codebeispiele finden Sie unter Koppeln einer Gruppe mit der DeviceInformationPairing.Custom-Eigenschaft.

// 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) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 11, version 24H2 (eingeführt in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v19.0)

Gilt für:

Weitere Informationen