Edit

Share via


ContextSwitchContext Constructor

Definition

Initializes a new instance of the ContextSwitchContext structure.

public ContextSwitchContext (Microsoft.Windows.EventTracing.EventContextState state, Microsoft.Windows.EventTracing.Cpu.ContextSwitch data, System.Runtime.ExceptionServices.ExceptionDispatchInfo exception);
new Microsoft.Windows.EventTracing.Cpu.ContextSwitchContext : Microsoft.Windows.EventTracing.EventContextState * Microsoft.Windows.EventTracing.Cpu.ContextSwitch * System.Runtime.ExceptionServices.ExceptionDispatchInfo -> Microsoft.Windows.EventTracing.Cpu.ContextSwitchContext
Public Sub New (state As EventContextState, data As ContextSwitch, exception As ExceptionDispatchInfo)

Parameters

state
EventContextState

The mutable state associated with this event context.

data
ContextSwitch

The data from the event that was parsed, if successful.

exception
ExceptionDispatchInfo

The exception that occured attempting to parse the event, if any.

Applies to