Click or drag to resize
CacheHelperRegisterAutomaticCallback Method
Registers the automatic callback that is executed at the specific time

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