Click or drag to resize
Task Scheduler Managed Class Library

TaskEventLog(String, Int32[], Int32[], Nullable<DateTime>, String, String, String, String) Constructor

Initializes a new instance of the TaskEventLog class.

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

Parameters

taskName  String  (Optional)
Name of the task.
eventIDs  Int32[]  (Optional)
The event ids.
levels  Int32[]  (Optional)
The levels.
startTime  Nullable<DateTime>  (Optional)
The start time.
machineName  String  (Optional)
Name of the machine (optional).
domain  String  (Optional)
The domain.
user  String  (Optional)
The user.
password  String  (Optional)
The password.
See Also