Delen via


ESimWatcher.EnumerationCompleted Event

Definition

Occurs when the watcher has finished enumerating the collection of ESim objects carried by the device.

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
event_token EnumerationCompleted(TypedEventHandler<ESimWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
ESimWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<ESimWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<ESimWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
eSimWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
eSimWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
eSimWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of ESimWatcher, Object) 

Event Type

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to