Click or drag to resize
IWebFarmServiceRegisterTask Method
Registers the given web farm task

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
void RegisterTask(
	string taskType,
	Action<string, string, BinaryData> execute,
	Func<bool> condition = null
)

Parameters

taskType
Type: SystemString
Task type
execute
Type: SystemActionString, String, BinaryData
Method executed to perform the task
condition (Optional)
Type: SystemFuncBoolean
Condition under which the task is synchronized
See Also