ThreadExitEventContext Constructor
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.
Initializes a new instance of the ThreadExitEventContext structure.
public ThreadExitEventContext (Microsoft.Windows.EventTracing.TraceEvent sourceEvent, Microsoft.Windows.EventTracing.EventContextState state, Microsoft.Windows.EventTracing.Processes.ThreadExitEvent data, System.Runtime.ExceptionServices.ExceptionDispatchInfo exception);
new Microsoft.Windows.EventTracing.Processes.ThreadExitEventContext : Microsoft.Windows.EventTracing.TraceEvent * Microsoft.Windows.EventTracing.EventContextState * Microsoft.Windows.EventTracing.Processes.ThreadExitEvent * System.Runtime.ExceptionServices.ExceptionDispatchInfo -> Microsoft.Windows.EventTracing.Processes.ThreadExitEventContext
Public Sub New (sourceEvent As TraceEvent, state As EventContextState, data As ThreadExitEvent, 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
- ThreadExitEvent
The data from the event that was parsed, if successful.
- exception
- ExceptionDispatchInfo
The exception that occured attempting to parse the event, if any.