ESim.ProfileChanged Événement

Définition

Se produit lorsque la collection de profils eSIM change ou lorsqu’une propriété de l’un des profils de la collection change.

Notes

Cette fonctionnalité n’est disponible que pour les applications d’opérateur mobile et les applications UWP disposant d’un accès privilégié par les opérateurs de réseau mobile.

Si vous souhaitez utiliser cette API et publier votre application dans le Microsoft Store, vous devez demander une approbation spéciale pour utiliser la fonctionnalité personnalisée Microsoft.eSIMManagement_8wekyb3d8bbwe. Pour plus d’informations, consultez Fonctionnalités personnalisées.

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

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
Microsoft.eSIMManagement_8wekyb3d8bbwe

S’applique à