Edit

Share via


TraceSourceExtensions Class

Definition

public static class TraceSourceExtensions
type TraceSourceExtensions = class
Public Module TraceSourceExtensions
Inheritance
TraceSourceExtensions

Methods

Use(ITraceSource, IReadOnlyList<Guid>, TraceEventCallback)

Registers a callback to receive events from specified providers when the trace is processed.

Use(ITraceSource, TraceEventCallback)

Registers a callback to receive events when the trace is processed.

UseMetadata(ITraceSource)

Provides trace metadata available without further processing.

UsePending<TDataSource>(ITraceSource, IProvider<TDataSource>, ConsumerSchedule)

Registers a data source provider to make its data source available at a later point in trace processing.

UsePendingPerTrace<T>(ITraceSource, Object, Func<IProvider<T>>, ConsumerSchedule)
UsePendingPerTrace<T>(ITraceSource, Object, IProvider<IProvider<T>>, ConsumerSchedule)
UseStreaming(ITraceSource)

Provides streaming (non-buffered) data from the trace.

UseTraceTimestampContext(ITraceSource)

Provides a context to interpret a TraceTimestampValue.

UseTwoPassCompletion(ITraceSource, ICompletableTwoPassEventConsumer)

Registers a consumer to receive events when the trace is processed across two passes.

Applies to