The TaskEventLog constructor allows you specify a start time, as task name and a machine name as filters.
For even fewer entries, you can also use the CorrelatedTaskEventLog which collects all events for a single trigger into a single record. It has a similar constructor. See the HomePanel.cs file in the TestTaskService project for an example of how to use it in a BackgroundWorkerThread.
For even fewer entries, you can also use the CorrelatedTaskEventLog which collects all events for a single trigger into a single record. It has a similar constructor. See the HomePanel.cs file in the TestTaskService project for an example of how to use it in a BackgroundWorkerThread.