Bagikan melalui


MobileBroadbandSlotManager.SlotInfoChanged Kejadian

Definisi

Peristiwa yang dimunculkan saat informasi slot diubah.

Catatan

Fungsionalitas ini hanya tersedia untuk aplikasi operator seluler dan aplikasi UWP yang diberikan akses istimewa oleh operator jaringan seluler.

Jika Anda ingin menggunakan API ini dan menerbitkan aplikasi anda ke Microsoft Store, maka Anda akan memerlukan persetujuan khusus. Untuk informasi selengkapnya, lihat bagian Kemampuan terbatas dalam topik Deklarasi kemampuan aplikasi .

// Register
event_token SlotInfoChanged(TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MobileBroadbandSlotManager::SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandSlotManager,MobileBroadbandSlotInfoChangedEventArgs> SlotInfoChanged;
function onSlotInfoChanged(eventArgs) { /* Your code */ }
mobileBroadbandSlotManager.addEventListener("slotinfochanged", onSlotInfoChanged);
mobileBroadbandSlotManager.removeEventListener("slotinfochanged", onSlotInfoChanged);
- or -
mobileBroadbandSlotManager.onslotinfochanged = onSlotInfoChanged;
Public Custom Event SlotInfoChanged As TypedEventHandler(Of MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs) 

Jenis Acara

Persyaratan Windows

Kemampuan aplikasi
cellularDeviceControl cellularDeviceIdentity

Berlaku untuk