ScheduledTaskTraceSourceExtensions.UseScheduledTasks(ITraceSource) Method

Definition

Provides data about scheduled tasks that ran during a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.ScheduledTasks.IScheduledTaskDataSource> UseScheduledTasks (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseScheduledTasks : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.ScheduledTasks.IScheduledTaskDataSource>
<Extension()>
Public Function UseScheduledTasks (trace As ITraceSource) As IPendingResult(Of IScheduledTaskDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data about scheduled tasks that ran during the trace.

Remarks

Windows Performance Analyzer provides this data via the Scheduled Tasks table.

Applies to