EventsTraceSourceExtensions.UseWindowsTracePreprocessorEvents Method

Definition

Provides Windows software trace preprocessor (WPP) events from a trace.

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

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides Windows software trace preprocessor (WPP) events from the trace.

Remarks

Symbols must be loaded in order to decode WPP events.

Windows Performance Analyzer provides this data via the WPP Trace table as well as the Generic Events table (when Event Type is WPP).

Applies to