Edit

Share via


EventsTraceSourceExtensions.UseTraceStatistics(ITraceSource) Method

Definition

Provides statistics about the events in a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.ITraceStatisticsDataSource> UseTraceStatistics (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseTraceStatistics : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.ITraceStatisticsDataSource>
<Extension()>
Public Function UseTraceStatistics (trace As ITraceSource) As IPendingResult(Of ITraceStatisticsDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides statistics about the events in a trace.

Remarks

Windows Performance Analyzer provides this data via System Configuration, Trace Statistics.

Applies to