Click or drag to resize
Task Scheduler Managed Class Library

TaskEventLog Constructor (String, Int32, NullableDateTime, String, String, String, String)

Initializes a new instance of the TaskEventLog class.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TaskEventLog(
	string taskName = null,
	int[] eventIDs = null,
	DateTime? startTime = null,
	string machineName = null,
	string domain = null,
	string user = null,
	string password = null
)
Request Example View Source

Parameters

taskName (Optional)
Type: SystemString
Name of the task.
eventIDs (Optional)
Type: SystemInt32
The event ids.
startTime (Optional)
Type: SystemNullableDateTime
The start time.
machineName (Optional)
Type: SystemString
Name of the machine (optional).
domain (Optional)
Type: SystemString
The domain.
user (Optional)
Type: SystemString
The user.
password (Optional)
Type: SystemString
The password.
See Also