Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics CRM 2013
Namespace:   Microsoft.Xrm.Client.Caching
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static T Get<T>(
    string objectCacheName,
    string cacheKey,
    Func<ObjectCache, T> load,
    Func<CacheItemPolicy> getPolicy = null,
    string regionName = null
)
public:
generic<typename T>
static T Get(
    String^ objectCacheName,
    String^ cacheKey,
    Func<ObjectCache^, T>^ load,
    Func<CacheItemPolicy^>^ getPolicy = null,
    String^ regionName = null
)
static member Get<'T> : 
        objectCacheName:string *
        cacheKey:string *
        load:Func<ObjectCache, 'T> *
        getPolicy:Func<CacheItemPolicy> = null *
        regionName:string = null -> 'T
Public Shared Function Get(Of T) (
    objectCacheName As String,
    cacheKey As String,
    load As Func(Of ObjectCache, T),
    getPolicy As Func(Of CacheItemPolicy),
    regionName As String
) As T
Parameters
- objectCacheName
 Type: System.String
- cacheKey
 Type: System.String
- load
 Type: System.Func<ObjectCache, T>
- getPolicy
 Type: System.Func<CacheItemPolicy>
- regionName
 Type: System.String
Return Value
Type: T
Type: {0}.
Type Parameters
- T
See Also
Get Overload
ObjectCacheManager Class
Microsoft.Xrm.Client.Caching Namespace
Return to top