ExpressionValidationException Constructor (String)

Initializes a new instance of the ExpressionValidationException class with a specified error message.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New ExpressionValidationException(message)
public ExpressionValidationException(
    string message
)
public:
ExpressionValidationException(
    String^ message
)
public function ExpressionValidationException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

The ExpressionValidationException is the exception that is thrown when an expression does not pass simple validations. The validation makes sure that an expression uses the correct number and type of operands for each term or clause operator used.

Permissions

See Also

Reference

ExpressionValidationException Class

ExpressionValidationException Members

ExpressionValidationException Overload

Microsoft.CommerceServer.Marketing Namespace