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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈