TaskServiceGetEventLog Method
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventLog GetEventLog(
string taskPath = null
)
- taskPath String (Optional)
- (Optional) The task path if only the events for a single task are desired.
TaskEventLogA
TaskEventLog instance.