SALES: 1-800-867-1380

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.

System..::..Object
  Microsoft.ApplicationServer.Caching..::..DataCacheFactory

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

[<SealedAttribute>]
type DataCacheFactory =  
    class
        interface IDisposable
    end

The DataCacheFactory type exposes the following members.

  NameDescription
Public methodDataCacheFactory()()()()Used for configuring a cache client based on the application configuration file.
Public methodDataCacheFactory(DataCacheFactoryConfiguration)Used for programmatically configuring a cache client.
Top

  NameDescription
Public methodDisposeCloses the DataCacheFactory object and releases all associated resources.
Public methodEquals (Inherited from Object.)
Public methodGetCacheReturns the cache client, an instance of the DataCache object.
Public methodGetDefaultCacheReturns the cache client corresponding to the default cache, an instance of the DataCache object.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft