TaskEditDialogInitialize(TaskService, TaskDefinition, String, String) Method
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
public void Initialize(
TaskService service,
TaskDefinition td = null,
string taskName = null,
string taskFolder = null
)
Parameters
- service TaskService
- A TaskService instance.
- td TaskDefinition (Optional)
- An optional TaskDefinition. Leaving null creates a new task.
- taskName String (Optional)
- If set, assigns this name to the task's name field.
- taskFolder String (Optional)
- If set, assigns this path to the task's folder.