Click or drag to resize
Task Scheduler Managed Class Library

CorrelatedTaskEventLog Constructor

Initializes a new instance of the CorrelatedTaskEventLog class that looks at all task events from a specified time.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public CorrelatedTaskEventLog(
	DateTime startTime,
	string taskName = null,
	string machineName = null
)
Request Example View Source

Parameters

startTime
Type: SystemDateTime
The start time.
taskName (Optional)
Type: SystemString
Name of the task.
machineName (Optional)
Type: SystemString
Name of the machine (optional).
See Also