2012-03-13 2 views

Répondre

4

Solution trouvée here.

using (TaskService ts = new TaskService()) 
{ 
    string task = "TaskName"; 
    // This will find it even if its down in a folder. Alternately you could call: 
    // Task t = ts.GetTask(task); 
    Task t = ts.FindTask(task); 
    if (t != null) 
     t.Run(); 
} 
Questions connexes