This topic has not yet been rated - Rate this topic

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)
public sealed class DataCacheFactory : IDisposable

The DataCacheFactory type exposes the following members.

  Name Description
Public method DataCacheFactory()()()() Used for configuring a cache client based on the application configuration file.
Public method DataCacheFactory(DataCacheFactoryConfiguration) Used for programmatically configuring a cache client.
Top
  Name Description
Public method Dispose Closes the DataCacheFactory object and releases all associated resources.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCache Returns the cache client, an instance of the DataCache object.
Public method GetDefaultCache Returns the cache client corresponding to the default cache, an instance of the DataCache object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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.
Did you find this helpful?
(1500 characters remaining)