ESim.ProfileChanged イベント

定義

eSIM プロファイルのコレクションが変更されたとき、またはコレクション内のいずれかのプロファイルのプロパティが変更されたときに発生します。

注意

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

この API を使用して Microsoft Store にアプリを発行する場合は、カスタム機能 Microsoft.eSIMManagement_8wekyb3d8bbweを使用するために特別な承認を要求する必要があります。 詳細については、「 カスタム機能」を参照してください。

// Register
event_token ProfileChanged(TypedEventHandler<ESim, IInspectable const&> const& handler) const;

// Revoke with event_token
void ProfileChanged(event_token const* cookie) const;

// Revoke with event_revoker
ESim::ProfileChanged_revoker ProfileChanged(auto_revoke_t, TypedEventHandler<ESim, IInspectable const&> const& handler) const;
public event TypedEventHandler<ESim,object> ProfileChanged;
function onProfileChanged(eventArgs) { /* Your code */ }
eSim.addEventListener("profilechanged", onProfileChanged);
eSim.removeEventListener("profilechanged", onProfileChanged);
- or -
eSim.onprofilechanged = onProfileChanged;
Public Custom Event ProfileChanged As TypedEventHandler(Of ESim, Object) 

イベントの種類

Windows の要件

アプリの機能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用対象