Class LhsExpressionErrorEventArgs
- Namespace
- NRules.Diagnostics
- Assembly
- NRules.dll
Information related to error events raised during left-hand side expression evaluation.
public class LhsExpressionErrorEventArgs : LhsExpressionEventArgs, IRecoverableError
- Inheritance
-
LhsExpressionErrorEventArgs
- Implements
- Inherited Members
Constructors
LhsExpressionErrorEventArgs(Expression, Exception, object[], ITuple, IFact, IEnumerable<IRuleDefinition>)
Initializes a new instance of the LhsExpressionErrorEventArgs
class.
public LhsExpressionErrorEventArgs(Expression expression, Exception exception, object[] arguments, ITuple tuple, IFact fact, IEnumerable<IRuleDefinition> rules)
Parameters
expression
ExpressionExpression related to the event.
exception
ExceptionException related to the event.
arguments
object[]Expression arguments.
tuple
ITupleTuple related to the event.
fact
IFactFact related to the event.
rules
IEnumerable<IRuleDefinition>Rules that contain the expression that generated the event.
Properties
IsHandled
Flag that indicates whether the exception was handled.
If handler sets this to true
then engine continues execution,
otherwise exception is rethrown and terminates engine's execution.
public bool IsHandled { get; set; }