Click or drag to resize
Task Scheduler Managed Class Library

EventQuery Constructor (String, Int32, NullableDateTime, NullableDateTime)

Initializes a new instance of the EventQuery class.

Namespace:  Microsoft.Win32.TaskScheduler.Events
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public EventQuery(
	string path,
	int[] eventIDs = null,
	DateTime? startTime = null,
	DateTime? endTime = null
)
Request Example View Source

Parameters

path
Type: SystemString
The path.
eventIDs (Optional)
Type: SystemInt32
The event ids.
startTime (Optional)
Type: SystemNullableDateTime
The start time.
endTime (Optional)
Type: SystemNullableDateTime
The end time.
See Also