TaskEditDialog(TaskService, TaskDefinition, Boolean, Boolean, String, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
public TaskEditDialog(
TaskService service,
TaskDefinition td = null,
bool editable = true,
bool registerOnAccept = true,
string taskName = null,
string taskFolder = null
)
Parameters
- service TaskService
- A TaskService instance.
- td TaskDefinition (Optional)
- An optional TaskDefinition. Leaving null creates a new task.
- editable Boolean (Optional)
- If set to true the task will be editable in the dialog.
- registerOnAccept Boolean (Optional)
- If set to true the task will be registered when OK is pressed.
- 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.