Edit

Share via


ScheduledTaskStreamingTraceSourceExtensions.UseScheduledTaskStartEvents Method

Definition

Overloads

UseScheduledTaskStartEvents(IStreamingTraceSource, IScheduledTaskStartEventConsumer)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

UseScheduledTaskStartEvents(IStreamingTraceSource, IScheduledTaskStartEventConsumer)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
IScheduledTaskStartEventConsumer

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

UseScheduledTaskStartEvents(IStreamingTraceSource, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
ScheduledTaskStartEventCallback

The callback to register.

Applies to

UseScheduledTaskStartEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStartEventCallback)

Registers a consumer to receive parsed scheduled task start events when the trace is processed.

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
ScheduledTaskStartEventCallback

The callback to register.

Applies to