MobileBroadbandAccountWatcher.EnumerationCompleted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
// 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)
事件类型
TypedEventHandler<MobileBroadbandAccountWatcher,IInspectable>
Windows 要求
应用功能 |
cellularDeviceControl
cellularDeviceIdentity
|
注解
启动观察程序时,它会枚举所有现有帐户, (为每个帐户) 引发 AccountAdded 事件。 可以使用 EnumerationCompleted 事件来确定枚举操作何时完成。 之后,所有正在发生的事件都是新的。