ESim.ProfileChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika kumpulan profil eSIM berubah, atau saat properti salah satu profil dalam koleksi berubah.
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 harus meminta persetujuan khusus untuk menggunakan kemampuan kustom Microsoft.eSIMManagement_8wekyb3d8bbwe. Untuk informasi selengkapnya, lihat Kemampuan kustom.
// Register
event_token ProfileChanged(TypedEventHandler<ESim, IInspectable const&> const& handler) const;
// Revoke with event_token
void ProfileChanged(event_token const* cookie) const;
// Revoke with event_revoker
ESim::ProfileChanged_revoker ProfileChanged(auto_revoke_t, TypedEventHandler<ESim, IInspectable const&> const& handler) const;
public event TypedEventHandler<ESim,object> ProfileChanged;
function onProfileChanged(eventArgs) { /* Your code */ }
eSim.addEventListener("profilechanged", onProfileChanged);
eSim.removeEventListener("profilechanged", onProfileChanged);
- or -
eSim.onprofilechanged = onProfileChanged;
Public Custom Event ProfileChanged As TypedEventHandler(Of ESim, Object)
Jenis Acara
TypedEventHandler<ESim,IInspectable>
Persyaratan Windows
Kemampuan aplikasi |
Microsoft.eSIMManagement_8wekyb3d8bbwe
|