Share via


ExpressionEvaluator.LoadExpression (Int32) Method (BCL)

Use this method to load and precompile the specified expression from the expression store database, and update the cache if necessary.

Definition

[Visual Basic .NET]

Public Sub LoadExpression( _ByValexpressionID As System.Int32 _
) 

[C#]

public void LoadExpression(System.Int32expressionID);

Parameters

[Visual Basic .NET]

  • expressionID
    The expression ID of the expression to be loaded. Must be greater than 0.

[C#]

  • expressionID
    The expression ID of the expression to be loaded. Must be greater than 0.

Remarks

Throws ArgumentOutOfRangeException if the expressionID parameter is less than one.

Throws CommerceTargetingException for all other failures.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.