Click or drag to resize
WebFarmTaskManagerRegisterTask Method (String, ActionString, String, BinaryData, FuncBoolean)
Registers the given web farm task

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.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