Condividi tramite


DeviceInformationCustomPairing.PairingSetMembersRequested Evento

Definizione

Generato quando sono stati richiesti i membri di un set di associazione. Per altre informazioni ed esempi di codice, vedere Associazione di un set con la proprietà 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 evento

Requisiti Windows

Famiglia di dispositivi
Windows 11, version 24H2 (è stato introdotto in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v19.0)

Si applica a

Vedi anche