Editar

Compartir a través de


CompactContextSwitchEventContext Constructor

Definition

Initializes a new instance of the CompactContextSwitchEventContext structure.

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

Parameters

sourceEvent
TraceEvent

The unparsed event used to attempt to parse this event.

state
EventContextState

The mutable state associated with this event context.

data
CompactContextSwitchEvent

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