Edit

Share via


ScheduledTaskContext Constructor

Definition

Initializes a new instance of the ScheduledTaskContext structure.

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

Parameters

state
EventContextState

The mutable state associated with this event context.

data
ScheduledTask

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