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

New Post: SecurityException when enumerating V1 tasks and displaying tasks' info using a DataGrid

$
0
0
First, try putting brackets in around the scope of your first "using" statement. You can also do the same with the TaskService instance. You could do this by doing:
List<TaskInfo> taskList = new List<TaskInfo>();
using (TaskService ts = new TaskService(REMOTE", "username", "domain", "password", osVer.Contains("2003")))
{
    EnumFolderTasks(ts.RootFolder, taskList);
}
DataContext = taskList;

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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