MemoryTraceSourceExtensions.UseHeapSnapshots(ITraceSource) Method

Definition

Provides data from a trace about process heap usage.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Memory.IHeapSnapshotDataSource> UseHeapSnapshots (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseHeapSnapshots : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Memory.IHeapSnapshotDataSource>
<Extension()>
Public Function UseHeapSnapshots (trace As ITraceSource) As IPendingResult(Of IHeapSnapshotDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data from the trace about process heap usage.

Remarks

Windows Performance Analyzer provides this data via the Heap Snapshot table.

Applies to