編輯

共用方式為


ProcessesStreamingTraceSourceExtensions.UseThreadRundownStartEvents Method

Definition

Overloads

UseThreadRundownStartEvents(IStreamingTraceSource, IThreadRundownStartEventConsumer)

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

UseThreadRundownStartEvents(IStreamingTraceSource, ThreadRundownStartEventCallback)

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

UseThreadRundownStartEvents(IStreamingTraceSource, ConsumerSchedule, ThreadRundownStartEventCallback)

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

UseThreadRundownStartEvents(IStreamingTraceSource, IThreadRundownStartEventConsumer)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
IThreadRundownStartEventConsumer

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

UseThreadRundownStartEvents(IStreamingTraceSource, ThreadRundownStartEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
ThreadRundownStartEventCallback

The callback to register.

Applies to

UseThreadRundownStartEvents(IStreamingTraceSource, ConsumerSchedule, ThreadRundownStartEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
ThreadRundownStartEventCallback

The callback to register.

Applies to