Jaa


ICacheManager.Flush Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Caching
Assembly:  Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)

Syntax

'Declaration
Sub Flush
void Flush()
void Flush()
function Flush()

Remarks

The CacheManager can be configured to use different storage mechanisms in which to store the CacheItems. Each of these storage mechanisms can throw exceptions particular to their own implementations.

See Also

ICacheManager Interface

Microsoft.Practices.EnterpriseLibrary.Caching Namespace