Removes all elements from the client cache.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.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.
CopyC#
Cache cache = NCache.InitializeCache("myCache");
cache.ClearClientCache();