TaskServiceGetTask Method

Gets the task with the specified path.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public Task GetTask(
	string taskPath
)

Parameters

taskPath  String
The task path.

Return Value

Task
The Task instance matching the taskPath, if found. If not found, this method returns null.

See Also