ObjectCacheProvider.Insert Method (ObjectCache, String, Object, CacheItemPolicy, String)
Applies To: Dynamics CRM 2013
Namespace: Microsoft.Xrm.Client.Caching
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public virtual void Insert(
ObjectCache cache,
string cacheKey,
object value,
CacheItemPolicy policy = null,
string regionName = null
)
public:
virtual void Insert(
ObjectCache^ cache,
String^ cacheKey,
Object^ value,
CacheItemPolicy^ policy = null,
String^ regionName = null
)
abstract Insert :
cache:ObjectCache *
cacheKey:string *
value:Object *
policy:CacheItemPolicy = null *
regionName:string = null -> unit
override Insert :
cache:ObjectCache *
cacheKey:string *
value:Object *
policy:CacheItemPolicy = null *
regionName:string = null -> unit
Public Overridable Sub Insert (
cache As ObjectCache,
cacheKey As String,
value As Object,
policy As CacheItemPolicy,
regionName As String
)
Parameters
- cache
Type: System.Runtime.Caching.ObjectCache
- cacheKey
Type: System.String
- value
Type: System.Object
- policy
Type: System.Runtime.Caching.CacheItemPolicy
- regionName
Type: System.String
See Also
ObjectCacheProvider Class
Microsoft.Xrm.Client.Caching Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top