Click or drag to resize
Task Scheduler Managed Class Library

TaskEventLog(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 taskPath
)
Request Example View Source

Parameters

taskPath  String
The task path. This can be retrieved using the Path property.
Exceptions
ExceptionCondition
NotSupportedExceptionThrown when instantiated on an OS prior to Windows Vista.
See Also