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 事件來判斷列舉作業何時完成。 之後,所有繼續的事件都是新的。