編輯

共用方式為


RegionsTraceSourceExtensions.UseRegionsOfInterest(ITraceSource) Method

Definition

Provides named regions of interest intervals from a trace as specified in an xml configuration file.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Regions.IRegionDataSource> UseRegionsOfInterest (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseRegionsOfInterest : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Regions.IRegionDataSource>
<Extension()>
Public Function UseRegionsOfInterest (trace As ITraceSource) As IPendingResult(Of IRegionDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides named regions of interest intervals from the trace as specified in an xml configuration file.

Remarks

Windows Performance Analyzer provides this data via the Regions of Interest table.

Applies to