次の方法で共有


AppResourceGroupInfoWatcher.Removed イベント

定義

パッケージ内の AppResourceGroupInfos の一覧からいずれかのリソース グループが削除されると発生します。

// Register
event_token Removed(TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppResourceGroupInfoWatcher::Removed_revoker Removed(auto_revoke_t, TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherEventArgs const&> const& handler) const;
public event TypedEventHandler<AppResourceGroupInfoWatcher,AppResourceGroupInfoWatcherEventArgs> Removed;
function onRemoved(eventArgs) { /* Your code */ }
appResourceGroupInfoWatcher.addEventListener("removed", onRemoved);
appResourceGroupInfoWatcher.removeEventListener("removed", onRemoved);
- or -
appResourceGroupInfoWatcher.onremoved = onRemoved;
Public Custom Event Removed As TypedEventHandler(Of AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherEventArgs) 

イベントの種類

Windows の要件

アプリの機能
appDiagnostics

適用対象