DataCacheFactory.Dispose Method ()

 

Closes the DataCacheFactory object and releases all associated resources.

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

Syntax

public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose

Implements

IDisposable.Dispose()

Remarks

To optimize performance, your cache-enabled application should minimize the number of DataCacheFactory objects it instantiates. Store the DataCacheFactory object in a variable that is available to all parts of the application that use the cache client.

See Also

DataCacheFactory Class
Microsoft.ApplicationServer.Caching Namespace

Return to top