Click or drag to resize
CacheHelperRegisterAutomaticCallback Method

Note: This API is now obsolete.

Registers the automatic callback that is executed at the specific time

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