Share via


AppResourceGroupInfoWatcher.Removed Event

Definition

Fires when one of the resource groups has been removed from the list of AppResourceGroupInfos in the package.

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

Event Type

Windows requirements

App capabilities
appDiagnostics

Applies to