TaskPropertiesControlInitialize(TaskService, TaskDefinition, String, String) Method

Initializes the control for the editing of a new TaskDefinition.

Definition

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

Parameters

service  TaskService
A TaskService instance.
taskDef  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