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

适用于