Table of Contents

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 Expression

Expression related to the event.

exception Exception

Exception related to the event.

arguments object[]

Expression arguments.

tuple ITuple

Tuple related to the event.

fact IFact

Fact 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; }

Property Value

bool