ZennoLab Assemblies Documentation
ClearCache Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : ClearCache Method

Type: System.String

The regular expressions for filtering by domain. If value is null or empty string, then method clears caches for all domains. The default value is empty string.

Type: System.Boolean

The true if need to store the cookies; otherwise false.

Clears the cache.
Syntax
public void ClearCache( 
   string domainFilter,
   bool storeCookie
)

Parameters

domainFilter

Type: System.String

The regular expressions for filtering by domain. If value is null or empty string, then method clears caches for all domains. The default value is empty string.

storeCookie

Type: System.Boolean

The true if need to store the cookies; otherwise false.

Example
The following example shows call the ClearCache method.
// clear cache
instance.ClearCache();
// clear cache
$instance->ClearCache();
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members
ClearCookie Method
ClearProxy Method