Jaa


FlushExpressionFromCache Method

Removes a single loaded and precompiled expression from the evaluator's expression cache.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub FlushExpressionFromCache ( _
    expressionID As Integer _
)
'Usage
Dim instance As ExpressionEvaluator
Dim expressionID As Integer

instance.FlushExpressionFromCache(expressionID)
public void FlushExpressionFromCache(
    int expressionID
)
public:
void FlushExpressionFromCache(
    int expressionID
)
public function FlushExpressionFromCache(
    expressionID : int
)

Parameters

  • expressionID
    Type: System..::.Int32
    The identifier of the expression to be evaluated. Must be greater than or equal to 0.

Exceptions

Exception Condition
ArgumentNullException

The expressionID argument is less than one.

CommerceTargetingException

Expression not found in the cache, or the cache could not be flushed.

Remarks

Removes a single loaded and precompiled expression from the evaluator's expression cache.

Permissions

See Also

Reference

ExpressionEvaluator Class

ExpressionEvaluator Members

Microsoft.CommerceServer.Runtime.Targeting Namespace