DataCacheFactory Class


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)

Inheritance Hierarchy



public sealed class DataCacheFactory : IDisposable
public ref class DataCacheFactory sealed : IDisposable
type DataCacheFactory = 
        interface IDisposable
Public NotInheritable Class DataCacheFactory
    Implements IDisposable


Name Description
System_CAPS_pubmethod DataCacheFactory()

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

System_CAPS_pubmethod DataCacheFactory(DataCacheFactoryConfiguration)

Used for programmatically configuring a cache client.


Name Description
System_CAPS_pubmethod Dispose()

Closes the DataCacheFactory object and releases all associated resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetCache(String)

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

System_CAPS_pubmethod GetDefaultCache()

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.ApplicationServer.Caching Namespace

Return to top