Edit

Share via


WindowInFocusStreamingTraceSourceExtensions.UseSessionLayerSetActiveWindowEvents Method

Definition

Overloads

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ISessionLayerSetActiveWindowEventConsumer)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ConsumerSchedule, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ISessionLayerSetActiveWindowEventConsumer)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

public static void UseSessionLayerSetActiveWindowEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.WindowInFocus.ISessionLayerSetActiveWindowEventConsumer consumer);
static member UseSessionLayerSetActiveWindowEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.WindowInFocus.ISessionLayerSetActiveWindowEventConsumer -> unit
<Extension()>
Public Sub UseSessionLayerSetActiveWindowEvents (streamingTrace As IStreamingTraceSource, consumer As ISessionLayerSetActiveWindowEventConsumer)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

consumer
ISessionLayerSetActiveWindowEventConsumer

The callback to call with the event parsing result.

Remarks

Event consumers that need to run in a specific pass can inherit from IScheduledConsumer.

Applies to

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

public static void UseSessionLayerSetActiveWindowEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.WindowInFocus.SessionLayerSetActiveWindowEventCallback process);
static member UseSessionLayerSetActiveWindowEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.WindowInFocus.SessionLayerSetActiveWindowEventCallback -> unit
<Extension()>
Public Sub UseSessionLayerSetActiveWindowEvents (streamingTrace As IStreamingTraceSource, process As SessionLayerSetActiveWindowEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

process
SessionLayerSetActiveWindowEventCallback

The callback to register.

Applies to

UseSessionLayerSetActiveWindowEvents(IStreamingTraceSource, ConsumerSchedule, SessionLayerSetActiveWindowEventCallback)

Registers a consumer to receive parsed SessionLayerSetActiveWindow events when the trace is processed.

public static void UseSessionLayerSetActiveWindowEvents (this Microsoft.Windows.EventTracing.IStreamingTraceSource streamingTrace, Microsoft.Windows.EventTracing.ConsumerSchedule schedule, Microsoft.Windows.EventTracing.WindowInFocus.SessionLayerSetActiveWindowEventCallback process);
static member UseSessionLayerSetActiveWindowEvents : Microsoft.Windows.EventTracing.IStreamingTraceSource * Microsoft.Windows.EventTracing.ConsumerSchedule * Microsoft.Windows.EventTracing.WindowInFocus.SessionLayerSetActiveWindowEventCallback -> unit
<Extension()>
Public Sub UseSessionLayerSetActiveWindowEvents (streamingTrace As IStreamingTraceSource, schedule As ConsumerSchedule, process As SessionLayerSetActiveWindowEventCallback)

Parameters

streamingTrace
IStreamingTraceSource

The trace from which to access the data.

schedule
ConsumerSchedule

The schedule indicating when to parse the events.

process
SessionLayerSetActiveWindowEventCallback

The callback to register.

Applies to