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