TaskOptionsEditor(TaskService, TaskDefinition, Boolean, Boolean, String, String) Constructor

Initializes a new instance of the TaskOptionsEditor class.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
public TaskOptionsEditor(
	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.

See Also