FlushCache Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Removes all loaded and precompiled expressions from the evaluator's expression cache.
Namespace: Microsoft.CommerceServer.Runtime.Targeting
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub FlushCache
'Usage
Dim instance As ExpressionEvaluator
instance.FlushCache()
public void FlushCache()
public:
void FlushCache()
public function FlushCache()
Exceptions
Exception | Condition |
---|---|
CommerceTargetingException | The cache could not be flushed. |
Remarks
Use this method to remove all loaded and pre-compiled expressions from the evaluator's expression cache.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.