Class RuleRhsExpressionEvaluationException
- Namespace
- NRules
- Assembly
- NRules.dll
Represents errors that occur while evaluating rule right-hand side expression.
[Serializable]
public class RuleRhsExpressionEvaluationException : RuleExpressionEvaluationException, ISerializable- Inheritance
- 
      
      
      
      
      RuleRhsExpressionEvaluationException
- Implements
- Inherited Members
Constructors
RuleRhsExpressionEvaluationException(SerializationInfo, StreamingContext)
protected RuleRhsExpressionEvaluationException(SerializationInfo info, StreamingContext context)Parameters
- infoSerializationInfo
- contextStreamingContext
Properties
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 (""). 
RuleName
Rule that caused exception.
public string RuleName { get; }Property Value
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
- infoSerializationInfo
- The SerializationInfo that holds the serialized object data about the exception being thrown. 
- contextStreamingContext
- The StreamingContext that contains contextual information about the source or destination. 
Exceptions
- ArgumentNullException
- The - infoparameter is a null reference (- Nothingin Visual Basic).