TaskOptionsEditorInitialize(TaskService, TaskDefinition, String, String) Method

Initializes the control for the editing of a new TaskDefinition.


Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.0
public void Initialize(
	TaskService service,
	TaskDefinition td = null,
	string taskName = null,
	string taskFolder = null


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.

See Also