Edit

Share via


ProcessesStreamingTraceSourceExtensions.UseThreadCreateEvents Method

Definition

Overloads

UseThreadCreateEvents(IStreamingTraceSource, IThreadCreateEventConsumer)

Registers a consumer to receive parsed thread create events when the trace is processed.

UseThreadCreateEvents(IStreamingTraceSource, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

UseThreadCreateEvents(IStreamingTraceSource, ConsumerSchedule, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

UseThreadCreateEvents(IStreamingTraceSource, IThreadCreateEventConsumer)

Registers a consumer to receive parsed thread create events when the trace is processed.

public static void UseThreadCreateEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.Processes.IThreadCreateEventConsumer consumer);
static member UseThreadCreateEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.Processes.IThreadCreateEventConsumer -> unit
<Extension()>
Public Sub UseThreadCreateEvents (streamingTrace As IStreamingTraceSource, consumer As IThreadCreateEventConsumer)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
IThreadCreateEventConsumer

The callback to call with the event parsing result.

Remarks

Event consumers that need to run in a specific pass can inherit from IScheduledConsumer.

Applies to

UseThreadCreateEvents(IStreamingTraceSource, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

public static void UseThreadCreateEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.Processes.ThreadCreateEventCallback process);
static member UseThreadCreateEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.Processes.ThreadCreateEventCallback -> unit
<Extension()>
Public Sub UseThreadCreateEvents (streamingTrace As IStreamingTraceSource, process As ThreadCreateEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
ThreadCreateEventCallback

The callback to register.

Applies to

UseThreadCreateEvents(IStreamingTraceSource, ConsumerSchedule, ThreadCreateEventCallback)

Registers a callback to receive parsed thread create events when the trace is processed.

public static void UseThreadCreateEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.ConsumerSchedule schedule, Microsoft.Windows.EventTracing.Processes.ThreadCreateEventCallback process);
static member UseThreadCreateEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.ConsumerSchedule * Microsoft.Windows.EventTracing.Processes.ThreadCreateEventCallback -> unit
<Extension()>
Public Sub UseThreadCreateEvents (streamingTrace As IStreamingTraceSource, schedule As ConsumerSchedule, process As ThreadCreateEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
ThreadCreateEventCallback

The callback to register.

Applies to