Removes all elements from the client cache.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public virtual void ClearClientCache()
Visual Basic
Public Overridable Sub ClearClientCache
Visual C++
public:
virtual void ClearClientCache()

Examples

The following example demonstrates how to clear the client cache.
 Copy imageCopy
Cache cache = NCache.InitializeCache("myCache");
cache.ClearClientCache();

See Also