Compartir a través de


CrmConfigurationManager.CreateObjectCache Method (String, Boolean)

 

Applies To: Dynamics CRM 2013

Retrieves the configured ObjectCache instance.

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static ObjectCache CreateObjectCache(
    string objectCacheName = null,
    bool allowDefaultFallback = false
)
public:
static ObjectCache^ CreateObjectCache(
    String^ objectCacheName = null,
    bool allowDefaultFallback = false
)
static member CreateObjectCache : 
        objectCacheName:string = null *
        allowDefaultFallback:bool = false -> ObjectCache
Public Shared Function CreateObjectCache (
    objectCacheName As String,
    allowDefaultFallback As Boolean
) As ObjectCache

Parameters

Return Value

Type: System.Runtime.Caching.ObjectCache

Type ObjectCache
The configured cache instance.

See Also

CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top