ServicesTraceSourceExtensions.UseServices(ITraceSource) Method

Definition

Provides data about services that were active or had their state captured during a trace.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Services.IServiceDataSource> UseServices (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseServices : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Services.IServiceDataSource>
<Extension()>
Public Function UseServices (trace As ITraceSource) As IPendingResult(Of IServiceDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data about services that were active or had their state captured during the trace.

Remarks

Windows Performance Analyzer provides this data via the Services table and System Configuration, Services.

Applies to