Click or drag to resize
Task Scheduler Managed Class Library

TaskSchedulerWizard Constructor (TaskService, TaskDefinition, Boolean)

Initializes a new instance of the TaskSchedulerWizard class.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public TaskSchedulerWizard(
	TaskService service,
	TaskDefinition definition = null,
	bool registerOnFinish = false
)
Request Example View Source

Parameters

service
Type: Microsoft.Win32.TaskSchedulerTaskService
A TaskService instance.
definition (Optional)
Type: Microsoft.Win32.TaskSchedulerTaskDefinition
An optional TaskDefinition. Leaving null creates a new task.
registerOnFinish (Optional)
Type: SystemBoolean
If set to true the task will be registered when Finish is pressed.
See Also