MobileBroadbandAccountWatcher.EnumerationCompleted 事件

定義

發生于帳戶監看員完成用戶端的列舉帳戶時。

注意

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

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則需要特殊核准。 如需詳細資訊,請參閱應用程式功能宣告主題中的受限制功能一節。

// Register
event_token EnumerationCompleted(TypedEventHandler<MobileBroadbandAccountWatcher, IInspectable const&> const& handler) const;

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

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

事件類型

Windows 需求

應用程式功能
cellularDeviceControl cellularDeviceIdentity

備註

當監看員啟動時,它會列舉所有現有的帳戶, (為每個帳戶) 引發 AccountAdded 事件。 您可以使用 EnumerationCompleted 事件來判斷列舉作業何時完成。 之後,所有繼續的事件都是新的。

適用於