Click or drag to resize
IWebFarmServiceCreateTask Method
Creates task to be synchronized to other servers

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
bool CreateTask(
	string taskType,
	string taskTarget,
	string taskTextData,
	BinaryData taskBinaryData
)

Parameters

taskType
Type: SystemString
Task type
taskTarget
Type: SystemString
Target
taskTextData
Type: SystemString
Task text data (such as code name, ID etc.)
taskBinaryData
Type: CMS.CoreBinaryData
Task binary data (for attachments etc.)

Return Value

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