DataCacheFactory.Dispose Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Closes the DataCacheFactory object and releases all associated resources.
Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As DataCacheFactory
instance.Dispose
public void Dispose ()
public:
virtual void Dispose () sealed
public final void Dispose ()
public final function 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
Reference
DataCacheFactory Class
DataCacheFactory Members
Microsoft.Data.Caching Namespace