編輯

共用方式為


EventsTraceSourceExtensions.UseClassicEvents(ITraceSource) Method

Definition

Provides classic ETW events from a trace, which do not include schema information.

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

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides classic ETW events from the trace.

Remarks

Windows Performance Analyzer provides this data via the Generic Events table (when Event Type is Classic or WPP and the event data is not provided via another table).

Applies to