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