ef="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"></script><title>TaskService.AddTask(String, Trigger, Action, String, String, TaskLogonType, String) Method</title><meta name="Title" content="AddTask(String, Trigger, Action, String, String, TaskLogonType, String) Method" /><meta name="Microsoft.Help.Id" content="M:Microsoft.Win32.TaskScheduler.TaskService.AddTask(System.String,Microsoft.Win32.TaskScheduler.Trigger,Microsoft.Win32.TaskScheduler.Action,System.Stri