Click or drag to resize
WebFarmHelperCreateTask Method
Creates task.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool CreateTask(
	string taskType,
	string taskTarget = null,
	params string[] taskTextData
)

Parameters

taskType
Type: SystemString
Task type
taskTarget (Optional)
Type: SystemString
Target
taskTextData
Type: SystemString
Task text data (such as code name, ID etc.)

Return Value

Type: Boolean
Returns true if the task was created (web farm is set up and task was allowed)
See Also