TraceSourceExtensions.UsePending<TDataSource> Method

Definition

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

public static Microsoft.Windows.EventTracing.IPendingResult<TDataSource> UsePending<TDataSource> (this Microsoft.Windows.EventTracing.ITraceSource trace, Microsoft.Windows.EventTracing.IProvider<TDataSource> provider, Microsoft.Windows.EventTracing.ConsumerSchedule availability);
static member UsePending : Microsoft.Windows.EventTracing.ITraceSource * Microsoft.Windows.EventTracing.IProvider<'DataSource> * Microsoft.Windows.EventTracing.ConsumerSchedule -> Microsoft.Windows.EventTracing.IPendingResult<'DataSource>
<Extension()>
Public Function UsePending(Of TDataSource) (trace As ITraceSource, provider As IProvider(Of TDataSource), availability As ConsumerSchedule) As IPendingResult(Of TDataSource)

Type Parameters

TDataSource

The data source type.

Parameters

trace
ITraceSource

The trace from which to access the data.

provider
IProvider<TDataSource>

The data source provider.

availability
ConsumerSchedule

A value indicating when to make the pending result available.

Returns

IPendingResult<TDataSource>

A pending result that will be available at the point indicated by availability.

Remarks

This part of the API is in preview and under active development. It may change in future releases.

Applies to