ProcessesStreamingTraceSourceExtensions.UseThreadRundownStartEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈