ExpressionValidationException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ExpressionValidationException class with specified serialization and streaming context information.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New ExpressionValidationException(info, context)
protected ExpressionValidationException(
    SerializationInfo info,
    StreamingContext context
)
protected:
ExpressionValidationException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function ExpressionValidationException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Remarks

This constructor is needed for serialization when exception propagates from a remoting server to the client.

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