Share via


CachedExpressionCount Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the number of expressions currently in the evaluator's expression cache.

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

Syntax

'Declaration
Public ReadOnly Property CachedExpressionCount As Integer
'Usage
Dim instance As ExpressionEvaluator
Dim value As Integer

value = instance.CachedExpressionCount
public int CachedExpressionCount { get; }
public:
property int CachedExpressionCount {
    int get ();
}
public function get CachedExpressionCount () : int

Property Value

Type: System..::.Int32
The number of expressions currently in the evaluator's expression cache.

Exceptions

Exception Condition
CommerceTargetingException

Any failure.

Remarks

Generates the CommerceTargetingException for any failure.

Permissions

See Also

Reference

ExpressionEvaluator Class

ExpressionEvaluator Members

Microsoft.CommerceServer.Runtime.Targeting Namespace