Compartilhar via


AppResourceGroupInfoWatcher.ExecutionStateChanged Evento

Definição

Evento que é acionado quando o estado de execução (em execução, suspensão e assim por diante) desse grupo é alterado.

// Register
event_token ExecutionStateChanged(TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppResourceGroupInfoWatcher::ExecutionStateChanged_revoker ExecutionStateChanged(auto_revoke_t, TypedEventHandler<AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppResourceGroupInfoWatcher,AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> ExecutionStateChanged;
function onExecutionStateChanged(eventArgs) { /* Your code */ }
appResourceGroupInfoWatcher.addEventListener("executionstatechanged", onExecutionStateChanged);
appResourceGroupInfoWatcher.removeEventListener("executionstatechanged", onExecutionStateChanged);
- or -
appResourceGroupInfoWatcher.onexecutionstatechanged = onExecutionStateChanged;
Public Custom Event ExecutionStateChanged As TypedEventHandler(Of AppResourceGroupInfoWatcher, AppResourceGroupInfoWatcherExecutionStateChangedEventArgs) 

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appDiagnostics

Aplica-se a