MobileBroadbandAccountWatcher.AccountUpdated 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
// Register
event_token AccountUpdated(TypedEventHandler<MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs const&> const& handler) const;
// Revoke with event_token
void AccountUpdated(event_token const* cookie) const;
// Revoke with event_revoker
MobileBroadbandAccountWatcher::AccountUpdated_revoker AccountUpdated(auto_revoke_t, TypedEventHandler<MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<MobileBroadbandAccountWatcher,MobileBroadbandAccountUpdatedEventArgs> AccountUpdated;
function onAccountUpdated(eventArgs) { /* Your code */ }
mobileBroadbandAccountWatcher.addEventListener("accountupdated", onAccountUpdated);
mobileBroadbandAccountWatcher.removeEventListener("accountupdated", onAccountUpdated);
- or -
mobileBroadbandAccountWatcher.onaccountupdated = onAccountUpdated;
Public Custom Event AccountUpdated As TypedEventHandler(Of MobileBroadbandAccountWatcher, MobileBroadbandAccountUpdatedEventArgs)
事件類型
Windows 需求
應用程式功能 |
cellularDeviceControl
cellularDeviceIdentity
|
備註
此帳戶的網路帳戶識別碼可從 NetworkAccountId 屬性的事件處理常式取得。
當下列任何屬性變更時,就會觸發 AccountUpdated 事件: