ScheduledTaskStreamingTraceSourceExtensions.UseScheduledTaskTriggerEvents Method

Definition

Overloads

UseScheduledTaskTriggerEvents(IStreamingTraceSource, IScheduledTaskTriggerEventConsumer)

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

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ScheduledTaskTriggerEventCallback)

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

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskTriggerEventCallback)

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

UseScheduledTaskTriggerEvents(IStreamingTraceSource, IScheduledTaskTriggerEventConsumer)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
IScheduledTaskTriggerEventConsumer

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

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ScheduledTaskTriggerEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
ScheduledTaskTriggerEventCallback

The callback to register.

Applies to

UseScheduledTaskTriggerEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskTriggerEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
ScheduledTaskTriggerEventCallback

The callback to register.

Applies to