Class RuleExpressionEvaluationException
- Namespace
 - NRules
 
- Assembly
 - NRules.dll
 
Represents errors that occur while evaluating expressions as part of rules execution.
[Serializable]
public abstract class RuleExpressionEvaluationException : RuleExecutionException, ISerializable
  - Inheritance
 - 
      
      
      
      RuleExpressionEvaluationException
 
- Implements
 
- Derived
 
- Inherited Members
 
Constructors
RuleExpressionEvaluationException(SerializationInfo, StreamingContext)
protected RuleExpressionEvaluationException(SerializationInfo info, StreamingContext context)
  Parameters
infoSerializationInfocontextStreamingContext
Properties
Expression
Expression that caused exception.
public string Expression { get; }
  Property Value
Message
Gets a message that describes the current exception.
public override string Message { get; }
  Property Value
- string
 The error message that explains the reason for the exception, or an empty string ("").
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
  Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
 The
infoparameter is a null reference (Nothingin Visual Basic).