CacheHelper Cache TData  Method (Func TData , CacheSettings)Kentico 8.1 API Reference
Wraps the operation to a cached section. This method supports progressive caching and is able to distribute unhandled exceptions to other simultaneously running threads.

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

Parameters

loadMethod
Type: OnlineSystem Func TData 
Method that loads the data
settings
Type: CMS.Helpers CacheSettings
Cache settings

Return Value

Type: TData
See Also