Compartir a través de


OrganizationServiceCacheElement Class

 

Applies To: Dynamics CRM 2013

(Developer Extensions)

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

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.Xrm.Client.Configuration.InitializableConfigurationElement<TDependency>
      Microsoft.Xrm.Client.Configuration.OrganizationServiceCacheElement

Syntax

public sealed class OrganizationServiceCacheElement : InitializableConfigurationElement<IOrganizationServiceCache>
public ref class OrganizationServiceCacheElement sealed : InitializableConfigurationElement<IOrganizationServiceCache^>
[<Sealed>]
type OrganizationServiceCacheElement = 
    class
        inherit InitializableConfigurationElement<IOrganizationServiceCache>
    end
Public NotInheritable Class OrganizationServiceCacheElement
    Inherits InitializableConfigurationElement(Of IOrganizationServiceCache)

Constructors

Name Description
System_CAPS_pubmethod OrganizationServiceCacheElement()

Initializes a new instance of theOrganizationServiceCacheElement class.

Properties

Name Description
System_CAPS_pubproperty CacheMode

Gets or sets the caching behavior mode.

System_CAPS_pubproperty CacheRegionName

Gets or sets the cache region name.

System_CAPS_pubproperty CurrentConfiguration

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty DependencyType

The dependency type.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_pubproperty ElementInformation

(Inherited from ConfigurationElement.)

System_CAPS_protproperty ElementProperty

(Inherited from ConfigurationElement.)

System_CAPS_protproperty Item[ConfigurationProperty]

(Inherited from ConfigurationElement.)

System_CAPS_protproperty Item[String]

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAllAttributesExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAllElementsExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAttributes

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockElements

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockItem

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty Name

Gets or sets the element name.(Overrides InitializableConfigurationElement<TDependency>.Name.)

System_CAPS_pubproperty ObjectCacheName

Gets or sets the name of the nested ObjectCacheElement configuration.

System_CAPS_pubproperty Parameters

The attributes of the configuration element.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty QueryHashingEnabled

Gets or sets whether the query used to construct the cache key is to be hashed or left as a readable string.

System_CAPS_pubproperty ReturnMode

Gets or sets the cache retrieval mode.

System_CAPS_pubproperty Type

Gets or sets the dependency type name.(Overrides InitializableConfigurationElement<TDependency>.Type.)

Methods

Name Description
System_CAPS_pubmethod AddConfig(String, String)

Adds a setting.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_pubmethod CreateOrganizationServiceCache(ObjectCache, OrganizationServiceCacheSettings)

Creates a IOrganizationServiceCache object.

System_CAPS_protmethod DeserializeElement(XmlReader, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Equals(Object)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetHashCode()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Init()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Initialize(TDependency)

(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protmethod InitializeDefault()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod IsModified()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod IsReadOnly()

(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protmethod Reset(ConfigurationElement)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod ResetModified()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SerializeElement(XmlWriter, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SerializeToXmlElement(XmlWriter, String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SetReadOnly()

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryInitialize(Object)

Initializes the dependency object.(Inherited from InitializableConfigurationElement<TDependency>.)

System_CAPS_protmethod Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

(Inherited from ConfigurationElement.)

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

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

Return to top