Editar

Compartilhar via


ProcessesTraceSourceExtensions.UseThreads Method

Definition

Overloads

UseThreads(ITraceSource)

Provides data about threads active during a trace.

UseThreads(ITraceSource, Boolean)

Provides data about threads active during a trace.

UseThreads(ITraceSource)

Provides data about threads active during a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Processes.IThreadDataSource> UseThreads (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseThreads : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Processes.IThreadDataSource>
<Extension()>
Public Function UseThreads (trace As ITraceSource) As IPendingResult(Of IThreadDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data about threads active during the trace.

Remarks

Windows Performance Analyzer provides this data via the Thread Lifetimes table.

Applies to

UseThreads(ITraceSource, Boolean)

Provides data about threads active during a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Processes.IThreadDataSource> UseThreads (this Microsoft.Windows.EventTracing.ITraceSource trace, bool useLegacyImplementation = false);
static member UseThreads : Microsoft.Windows.EventTracing.ITraceSource * bool -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Processes.IThreadDataSource>
<Extension()>
Public Function UseThreads (trace As ITraceSource, Optional useLegacyImplementation As Boolean = false) As IPendingResult(Of IThreadDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

useLegacyImplementation
Boolean

Whether to use a legacy implementation to retrieve this data.

Returns

A pending result that, after the trace is processed, provides data about threads active during the trace.

Remarks

Windows Performance Analyzer provides this data via the Thread Lifetimes table.

Applies to