WebFarmHelperRegisterTask Method |
Registers the given web farm task
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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