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.String | key | Key of Object. |
ProviderCacheItem | cacheItem | ProviderCacheItem is just like a CacheItem , but it has some limited fields |
Returns
Type | Description |
---|---|
ProviderCacheItem | Returns the same ProviderCacheItem that is Passed as argument |