Modifier

Partager via


EventsTraceSourceExtensions.UseGenericEvents Method

Definition

Overloads

UseGenericEvents(ITraceSource)

Provides manifested and TraceLogging events from a trace.

UseGenericEvents(ITraceSource, GenericEventSettings)

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource, Guid[])

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource)

Provides manifested and TraceLogging events from a trace.

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

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides manifested and TraceLogging events from the trace.

Remarks

Windows Performance Analyzer provides this data via the Generic Events table (when Event Type is Manifested or TraceLogging).

Applies to

UseGenericEvents(ITraceSource, GenericEventSettings)

Provides a subset of manifested or TraceLogging events from a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.IGenericEventDataSource> UseGenericEvents (this Microsoft.Windows.EventTracing.ITraceSource trace, Microsoft.Windows.EventTracing.Events.GenericEventSettings settings);
static member UseGenericEvents : Microsoft.Windows.EventTracing.ITraceSource * Microsoft.Windows.EventTracing.Events.GenericEventSettings -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.IGenericEventDataSource>
<Extension()>
Public Function UseGenericEvents (trace As ITraceSource, settings As GenericEventSettings) As IPendingResult(Of IGenericEventDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

settings
GenericEventSettings

Settings that indicate which events to process and how to process them.

Returns

A pending result that, after the trace is processed, provides a subset of manifested or TraceLogging events from the trace.

Remarks

Windows Performance Analyzer provides this data via the Generic Events table (when Event Type is Manifested or TraceLogging).

Applies to

UseGenericEvents(ITraceSource, Guid[])

Provides a subset of manifested or TraceLogging events from a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.IGenericEventDataSource> UseGenericEvents (this Microsoft.Windows.EventTracing.ITraceSource trace, params Guid[] providerIds);
static member UseGenericEvents : Microsoft.Windows.EventTracing.ITraceSource * Guid[] -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Events.IGenericEventDataSource>
<Extension()>
Public Function UseGenericEvents (trace As ITraceSource, ParamArray providerIds As Guid()) As IPendingResult(Of IGenericEventDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

providerIds
Guid[]

A list of provider IDs to filter which events to process.

Returns

A pending result that, after the trace is processed, provides a subset of manifested or TraceLogging events from the trace.

Remarks

Windows Performance Analyzer provides this data via the Generic Events table (when Event Type is Manifested or TraceLogging).

Applies to