Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: Easy way to retrieve all tasks

$
0
0
Is there an easy way to retrieve all tasks (regardless of whether they are active or not)? I've seen the sample:

TaskService ts = new TaskService();
var allTasks = ts.FindAllTasks(x => x.IsActive);

But, that only returns active. I've tried to change the argument, but FindAllTasks requires an argument. As a work-around, I'm using:

TaskService ts2 = new TaskService();
var allTasks = ts2.FindAllTasks(x => x.Xml != "");

Is there a better way to do this?

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>