Partilhar via


AppResourceGroupInfoWatcher.Added Evento

Definição

Evento que é acionado quando um grupo de recursos é adicionado.

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

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

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

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appDiagnostics

Aplica-se a