Method SetCachingOption
SetCachingOption(String, ProviderCacheItem)
Sets Caching Options like expiration, Dependency, ResynOption.
Declaration
protected ProviderCacheItem SetCachingOption(string key, ProviderCacheItem cacheItem)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | Key of Object. |
Provider |
cacheItem | ProviderCacheItem is just like a CacheItem , but it has some limited fields |
Returns
Type | Description |
---|---|
Provider |
Returns the same ProviderCacheItem that is Passed as argument |