MobileBroadbandAccountWatcher.AccountUpdated イベント

定義

モバイル ブロードバンド アカウントがクライアントで更新されたときに発生します。

Note

この機能は、モバイル ネットワーク オペレーターによる特権アクセスを許可されたモバイル オペレーター アプリと UWP アプリでのみ使用できます。

この API を使用してアプリを Microsoft Store に発行する場合は、特別な承認が必要です。 詳細については、「アプリ機能宣言」トピックの「制限付き機能」セクションを参照してください。

// 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

注釈

アカウントのネットワーク アカウント ID は、 NetworkAccountId プロパティのイベント ハンドラーで使用できます。

AccountUpdated イベントは、次のいずれかのプロパティが変更されるとトリガーされます。

適用対象