Click or drag to resize
CacheHelperTouchKey Method (String, Boolean, Boolean)
Touches the cache key to drop the dependencies.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void TouchKey(
	string key,
	bool logTask,
	bool ensureKey
)

Parameters

key
Type: SystemString
Key to touch
logTask
Type: SystemBoolean
Log web farm task
ensureKey
Type: SystemBoolean
If true, the keys must be present in the cache, if false, the non-existing key is not touched
See Also