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