DataCacheLocalCacheProperties Class
Updated: June 30, 2012
Specifies the local cache settings for a cache client.
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
| Name | Description | |
|---|---|---|
![]() | DataCacheLocalCacheProperties() | Creates a new instance of the DataCacheLocalCacheProperties class. |
![]() | DataCacheLocalCacheProperties(Int64, TimeSpan, DataCacheLocalCacheInvalidationPolicy) | Creates a new instance of the DataCacheLocalCacheProperties class. This overloaded constructor accepts parameters that configure the properties of local cache. |
| Name | Description | |
|---|---|---|
![]() | DefaultTimeout | Gets the default timeout for items in the local cache. |
![]() | InvalidationPolicy | Gets the invalidation policy for items in the local cache. |
![]() | IsEnabled | Gets a Boolean value indicating whether local cache is enabled for the cache client. |
![]() | ObjectCount | Gets the maximum number of objects permitted in the local cache. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
To use this class, assign an instance of it to the LocalCacheProperties property of the DataCacheFactoryConfiguration class.
Note that the properties of this class are read-only. Because of this, you must use the overloaded constructor to assign values to the properties.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)