ObjectCacheElement Class
Applies To: Dynamics CRM 2015
Represents an object cache element. (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.ObjectCacheElement
Syntax
public sealed class ObjectCacheElement : InitializableConfigurationElement<ObjectCache>,
ICacheItemPolicyFactory
public ref class ObjectCacheElement sealed : InitializableConfigurationElement<ObjectCache^>,
ICacheItemPolicyFactory
[<Sealed>]
type ObjectCacheElement =
class
inherit InitializableConfigurationElement<ObjectCache>
interface ICacheItemPolicyFactory
end
Public NotInheritable Class ObjectCacheElement
Inherits InitializableConfigurationElement(Of ObjectCache)
Implements ICacheItemPolicyFactory
Constructors
Name | Description | |
---|---|---|
ObjectCacheElement() | Initializes a new instance of the ObjectCacheElement class. |
Properties
Name | Description | |
---|---|---|
AbsoluteExpiration | Gets or sets the cache policy absolute expiration date. |
|
CurrentConfiguration | (Inherited from ConfigurationElement.) |
|
DependencyType | The dependency type.(Inherited from InitializableConfigurationElement<TDependency>.) |
|
Duration | Gets or sets the cache policy cache duration. |
|
ElementInformation | (Inherited from ConfigurationElement.) |
|
ElementProperty | (Inherited from ConfigurationElement.) |
|
InstanceMode | Gets or sets the instance mode. |
|
Item[ConfigurationProperty] | (Inherited from ConfigurationElement.) |
|
Item[String] | (Inherited from ConfigurationElement.) |
|
LockAllAttributesExcept | (Inherited from ConfigurationElement.) |
|
LockAllElementsExcept | (Inherited from ConfigurationElement.) |
|
LockAttributes | (Inherited from ConfigurationElement.) |
|
LockElements | (Inherited from ConfigurationElement.) |
|
LockItem | (Inherited from ConfigurationElement.) |
|
Name | Gets or sets the element name.(Overrides InitializableConfigurationElement<TDependency>.Name.) |
|
OutputCacheProfileName | Gets or sets the name of the OutputCacheProfileName from which the cache profile duration is obtained. |
|
Parameters | The attributes of the configuration element.(Inherited from InitializableConfigurationElement<TDependency>.) |
|
Priority | Gets or sets the cache policy priority. |
|
Properties | (Inherited from ConfigurationElement.) |
|
SlidingExpiration | Gets or sets the ache policy sliding expiration. |
|
Type | Gets or sets the dependency type name.(Overrides InitializableConfigurationElement<TDependency>.Type.) |
Methods
Fields
Name | Description | |
---|---|---|
DefaultObjectCacheName | Gets or sets the default element name. |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICacheItemPolicyFactory.Create() |
Extension Methods
Name | Description | |
---|---|---|
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 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright