共用方式為


ESimWatcher.EnumerationCompleted 事件

定義

發生于監看員完成列舉裝置所攜帶 ESim 物件的集合時。

注意

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則必須要求特殊核准,才能使用自訂功能 Microsoft.eSIMManagement_8wekyb3d8bbwe。 如需詳細資訊,請參閱 自訂功能

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

事件類型

Windows 需求

應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用於