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

New Post: Deletion/Unregister Task

$
0
0
This library has been great for scheduling & modifying tasks in Windows Scheduler, but I've run into a problem that I could not find a method for, it may not exist in your library. How can a previously created and registered task be deleted or unregistered from Windows Scheduler? I wanted to offer an option to clear out their previously created task, but am having trouble figuring out how to do this.

The TaskService only appears to offer AddTask methods, but not RemoveTask. I do see that there is a DeleteTask method in the TaskFolder class, but I'm not 100% sure how to utilize this since I was not using any particular folders when I originally implemented scheduling.

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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