LoadExpression Method
Loads and precompiles the specified expression from the expression store database, and updates the cache if necessary.
Namespace: Microsoft.CommerceServer.Runtime.Targeting
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub LoadExpression ( _
expressionID As Integer _
)
'Usage
Dim instance As ExpressionEvaluator
Dim expressionID As Integer
instance.LoadExpression(expressionID)
public void LoadExpression(
int expressionID
)
public:
void LoadExpression(
int expressionID
)
public function LoadExpression(
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 |
---|---|
ArgumentOutOfRangeException | The expressionID argument is less than one. |
CommerceTargetingException | All the other failures. |
Remarks
Loads and precompiles the specified expression from the expression store database, and updates the cache if necessary.
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.