Partilhar via


AppDiagnosticInfoWatcher.EnumerationCompleted Evento

Definição

Aciona quando o observador conclui a enumeração da lista de aplicativos em execução que estão disponíveis para monitorar.

// Register
event_token EnumerationCompleted(TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppDiagnosticInfoWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppDiagnosticInfoWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
appDiagnosticInfoWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
appDiagnosticInfoWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
appDiagnosticInfoWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of AppDiagnosticInfoWatcher, Object) 

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appDiagnostics

Comentários

Depois que a enumeração for concluída, o observador começará a relatar quando os aplicativos forem adicionados ou removidos.

Aplica-se a