MetadataTraceSourceExtensions.UseMarks(ITraceSource) Method

Definition

Provides the marks (labeled timestamps) from a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Metadata.IMarkDataSource> UseMarks (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseMarks : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Metadata.IMarkDataSource>
<Extension()>
Public Function UseMarks (trace As ITraceSource) As IPendingResult(Of IMarkDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides the marks (labeled timestamps) from the trace.

Remarks

Windows Performance Analyzer provides this data via the Marks table.

Applies to