Export (0) Print
Expand All

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)

'Usage
Dim instance As DataCacheFactory

instance.Dispose

public void Dispose ()
public final void Dispose ()
public final function 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
  http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx 2011-08-26
Show:
© 2014 Microsoft