Share via


AsyncCausalityTracer.TracingStatusChanged Evento

Definición

Se genera cuando un cliente comienza a escuchar el seguimiento de causalidad.

// Register
static event_token TracingStatusChanged(EventHandler<TracingStatusChangedEventArgs> const& handler) const;

// Revoke with event_token
static void TracingStatusChanged(event_token const* cookie) const;

// Revoke with event_revoker
static AsyncCausalityTracer::TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, EventHandler<TracingStatusChangedEventArgs> const& handler) const;
public static event System.EventHandler<TracingStatusChangedEventArgs> TracingStatusChanged;
function onTracingStatusChanged(eventArgs) { /* Your code */ }
Windows.Foundation.Diagnostics.AsyncCausalityTracer.addEventListener("tracingstatuschanged", onTracingStatusChanged);
Windows.Foundation.Diagnostics.AsyncCausalityTracer.removeEventListener("tracingstatuschanged", onTracingStatusChanged);
- or -
Windows.Foundation.Diagnostics.AsyncCausalityTracer.ontracingstatuschanged = onTracingStatusChanged;
Public Shared Custom Event TracingStatusChanged As EventHandler(Of TracingStatusChangedEventArgs) 

Tipo de evento

Comentarios

El nivel de registro y las marcas se pasan para permitir decisiones específicas sobre qué puntos de instrumentación se deben habilitar.

El evento TracingStatusChanged se genera cuando se deshabilita el registro.

Se aplica a

Consulte también