TraceSourceExtensions.UsePendingPerTrace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UsePendingPerTrace<T>(ITraceSource, Object, IProvider<IProvider<T>>, ConsumerSchedule) | |
UsePendingPerTrace<T>(ITraceSource, Object, Func<IProvider<T>>, ConsumerSchedule) |
UsePendingPerTrace<T>(ITraceSource, Object, IProvider<IProvider<T>>, ConsumerSchedule)
public static Microsoft.Windows.EventTracing.IPendingResult<T> UsePendingPerTrace<T> (this Microsoft.Windows.EventTracing.ITraceSource trace, object perTraceKey, Microsoft.Windows.EventTracing.IProvider<Microsoft.Windows.EventTracing.IProvider<T>> providerOfProvider, Microsoft.Windows.EventTracing.ConsumerSchedule availability);
static member UsePendingPerTrace : Microsoft.Windows.EventTracing.ITraceSource * obj * Microsoft.Windows.EventTracing.IProvider<Microsoft.Windows.EventTracing.IProvider<'T>> * Microsoft.Windows.EventTracing.ConsumerSchedule -> Microsoft.Windows.EventTracing.IPendingResult<'T>
<Extension()>
Public Function UsePendingPerTrace(Of T) (trace As ITraceSource, perTraceKey As Object, providerOfProvider As IProvider(Of IProvider(Of T)), availability As ConsumerSchedule) As IPendingResult(Of T)
Type Parameters
- T
Parameters
- trace
- ITraceSource
- perTraceKey
- Object
- availability
- ConsumerSchedule
Returns
Applies to
UsePendingPerTrace<T>(ITraceSource, Object, Func<IProvider<T>>, ConsumerSchedule)
public static Microsoft.Windows.EventTracing.IPendingResult<T> UsePendingPerTrace<T> (this Microsoft.Windows.EventTracing.ITraceSource trace, object perTraceKey, Func<Microsoft.Windows.EventTracing.IProvider<T>> createProvider, Microsoft.Windows.EventTracing.ConsumerSchedule availability);
static member UsePendingPerTrace : Microsoft.Windows.EventTracing.ITraceSource * obj * Func<Microsoft.Windows.EventTracing.IProvider<'T>> * Microsoft.Windows.EventTracing.ConsumerSchedule -> Microsoft.Windows.EventTracing.IPendingResult<'T>
<Extension()>
Public Function UsePendingPerTrace(Of T) (trace As ITraceSource, perTraceKey As Object, createProvider As Func(Of IProvider(Of T)), availability As ConsumerSchedule) As IPendingResult(Of T)
Type Parameters
- T
Parameters
- trace
- ITraceSource
- perTraceKey
- Object
- availability
- ConsumerSchedule
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for