Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataCacheFactory Class
Collapse the table of content
Expand the table of content

DataCacheFactory Class

 

Updated: June 30, 2012

Provides methods to return DataCache objects that are mapped to a named cache. This class also enables programmatic configuration of the cache client.

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

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheFactory

public sealed class DataCacheFactory : IDisposable

NameDescription
System_CAPS_pubmethodDataCacheFactory()

Used for configuring a cache client based on the application configuration file.

System_CAPS_pubmethodDataCacheFactory(DataCacheFactoryConfiguration)

Used for programmatically configuring a cache client.

NameDescription
System_CAPS_pubmethodDispose()

Closes the DataCacheFactory object and releases all associated resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetCache(String)

Returns the cache client, an instance of the DataCache object.

System_CAPS_pubmethodGetDefaultCache()

Returns the cache client corresponding to the default cache, an instance of the DataCache object.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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
Show:
© 2015 Microsoft