CacheHelperTouchKeyInternal Method |
Touches the cache key to drop the dependencies.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax protected virtual void TouchKeyInternal(
string key,
bool logTask,
bool ensureKey,
DateTime expiration,
bool logOperation
)
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 - expiration
- Type: SystemDateTime
Expiration time - logOperation
- Type: SystemBoolean
Log the operation
See Also