Click or drag to resize
Task Scheduler Managed Class Library

TaskServiceGetEventLog Method

Gets the event log for this TaskService instance.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TaskEventLog GetEventLog(
	string taskPath = null
)
Request Example View Source

Parameters

taskPath (Optional)
Type: SystemString
(Optional) The task path if only the events for a single task are desired.

Return Value

Type: TaskEventLog
A TaskEventLog instance.
See Also