TaskServiceGetEventLog Method

Gets the event log for this TaskService instance.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventLog GetEventLog(
	string taskPath = null
)

Parameters

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

Return Value

TaskEventLog
A TaskEventLog instance.

See Also