編輯

共用方式為


ScheduledTaskStreamingTraceSourceExtensions.UseScheduledTaskStopEvents Method

Definition

Overloads

UseScheduledTaskStopEvents(IStreamingTraceSource, IScheduledTaskStopEventConsumer)

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

UseScheduledTaskStopEvents(IStreamingTraceSource, ScheduledTaskStopEventCallback)

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

UseScheduledTaskStopEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStopEventCallback)

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

UseScheduledTaskStopEvents(IStreamingTraceSource, IScheduledTaskStopEventConsumer)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
IScheduledTaskStopEventConsumer

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

UseScheduledTaskStopEvents(IStreamingTraceSource, ScheduledTaskStopEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
ScheduledTaskStopEventCallback

The callback to register.

Applies to

UseScheduledTaskStopEvents(IStreamingTraceSource, ConsumerSchedule, ScheduledTaskStopEventCallback)

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

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

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
ScheduledTaskStopEventCallback

The callback to register.

Applies to