ObjectCacheProvider.GetCacheItemPolicy Method (ObjectCache, IEnumerable<String>, String, String)
Applies To: Dynamics CRM 2013
Namespace: Microsoft.Xrm.Client.Caching
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public virtual CacheItemPolicy GetCacheItemPolicy(
ObjectCache cache,
IEnumerable<string> dependencies,
string regionName = null,
string objectCacheName = null
)
public:
virtual CacheItemPolicy^ GetCacheItemPolicy(
ObjectCache^ cache,
IEnumerable<String^>^ dependencies,
String^ regionName = null,
String^ objectCacheName = null
)
abstract GetCacheItemPolicy :
cache:ObjectCache *
dependencies:IEnumerable<string> *
regionName:string = null *
objectCacheName:string = null -> CacheItemPolicy
override GetCacheItemPolicy :
cache:ObjectCache *
dependencies:IEnumerable<string> *
regionName:string = null *
objectCacheName:string = null -> CacheItemPolicy
Public Overridable Function GetCacheItemPolicy (
cache As ObjectCache,
dependencies As IEnumerable(Of String),
regionName As String,
objectCacheName As String
) As CacheItemPolicy
Parameters
- cache
Type: System.Runtime.Caching.ObjectCache
- dependencies
Type: System.Collections.Generic.IEnumerable<String>
- regionName
Type: System.String
- objectCacheName
Type: System.String
Return Value
Type: System.Runtime.Caching.CacheItemPolicy
Type: CacheItemPolicy.
See Also
GetCacheItemPolicy Overload
ObjectCacheProvider Class
Microsoft.Xrm.Client.Caching Namespace
Return to top