Click or drag to resize
IWebFarmServiceCreateIOTask Method
Creates task.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 9.0.0
Syntax
C#
bool CreateIOTask(
	string taskType,
	string taskFilePath,
	BinaryData taskBinaryData = null,
	string taskTarget = null,
	params string[] taskTextData
)

Parameters

taskType
Type: SystemString
Task type
taskFilePath
Type: SystemString
Task file path.
taskBinaryData (Optional)
Type: CMS.CoreBinaryData
Task binary data.
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