C# how can I tell when a task is complete

Topics: Examples
Oct 1, 2014 at 9:55 PM
Edited Oct 2, 2014 at 6:48 PM
I have C# code that starts a task, but I need to know when that task is complete. The information I need is on the history tab of the task scheduler. It will show "Task Completed" in the task category column. Is this possible to get through code?

Never mind, TaskService.State works just fine.
Marked as answer by y0st on 10/2/2014 at 10:48 AM