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)

public void Dispose()

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.

Return to top
Show: