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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static 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