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

New Post: TriggerCollection.Add() adds the Trigger but sets the StartBoundary to Current DateTime.

$
0
0
If you are just adding a single new trigger to an existing task, you can just do the following:
Task t = ts.GetTask(taskName);
if (t == null) return;
td.Triggers.Add(new IdleTrigger()); // or any other kind of trigger
t.RegisterChanges();

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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