Share via


ESimManager.ServiceInfoChanged Event

Definition

Occurs when a property of the service information object changes.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

// Register
static event_token ServiceInfoChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void ServiceInfoChanged(event_token const* cookie) const;

// Revoke with event_revoker
static ESimManager::ServiceInfoChanged_revoker ServiceInfoChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> ServiceInfoChanged;
function onServiceInfoChanged(eventArgs) { /* Your code */ }
Windows.Networking.NetworkOperators.ESimManager.addEventListener("serviceinfochanged", onServiceInfoChanged);
Windows.Networking.NetworkOperators.ESimManager.removeEventListener("serviceinfochanged", onServiceInfoChanged);
- or -
Windows.Networking.NetworkOperators.ESimManager.onserviceinfochanged = onServiceInfoChanged;
Public Shared Custom Event ServiceInfoChanged As EventHandler(Of Object) 

Event Type

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to