DataCacheHelper GetCachedObject Method (String, DataCacheHelper GetEventHandler1 BaseInfo, String , String, Int32, Boolean, DataCacheHelper GetCacheDependencyEventHandler BaseInfo , String)Kentico 8.1 API Reference
Gets the object by its name using the cache.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

name
Type: OnlineSystem String
Name of the object
handler
Type: CMS.DataEngine DataCacheHelper GetEventHandler1 BaseInfo, OnlineString 
Handler to retrieve the object from the database
key
Type: OnlineSystem String
Cache key to use
cacheMinutes
Type: OnlineSystem Int32
Cache minutes
requestCache
Type: OnlineSystem Boolean
Use request cache
dependencyCallback
Type: CMS.DataEngine DataCacheHelper GetCacheDependencyEventHandler BaseInfo 
Callback to get the cache dependency for the object
context
Type: OnlineSystem String
Context string

Return Value

Type: BaseInfo
See Also