CacheHelperRegisterAutomaticCallback Method |
Note: This API is now obsolete.
Registers the automatic callback that is executed at the specific time
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax [ObsoleteAttribute("Use custom timer logic.")]
public static void RegisterAutomaticCallback(
string key,
DateTime when,
Action callback,
bool useManagedThread = true
)
Parameters
- key
- Type: SystemString
Cache key to leverage - when
- Type: SystemDateTime
Time of execution - callback
- Type: SystemAction
Callback method - useManagedThread (Optional)
- Type: SystemBoolean
If true, managed thread (CMSThread) is used for the callback
See Also