Hade du nytta av den här sidan?
Din feedback om det här innehållet är viktig. Berätta vad du tycker.
Ytterligare feedback?
1500 tecken kvar
DataCacheLocalCacheProperties Class
Collapse the table of content
Expand the table of content
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

DataCacheLocalCacheProperties Class

 

Updated: June 30, 2012

Specifies the local cache settings for a cache client.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheLocalCacheProperties

type DataCacheLocalCacheProperties = class end

NameDescription
System_CAPS_pubmethodDataCacheLocalCacheProperties()

Creates a new instance of the DataCacheLocalCacheProperties class.

System_CAPS_pubmethodDataCacheLocalCacheProperties(Int64, TimeSpan, DataCacheLocalCacheInvalidationPolicy)

Creates a new instance of the DataCacheLocalCacheProperties class. This overloaded constructor accepts parameters that configure the properties of local cache.

NameDescription
System_CAPS_pubpropertyDefaultTimeout

Gets the default timeout for items in the local cache.

System_CAPS_pubpropertyInvalidationPolicy

Gets the invalidation policy for items in the local cache.

System_CAPS_pubpropertyIsEnabled

Gets a Boolean value indicating whether local cache is enabled for the cache client.

System_CAPS_pubpropertyObjectCount

Gets the maximum number of objects permitted in the local cache.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Visa:
© 2015 Microsoft