Click or drag to resize

BcfDataSetHandleCalculationException Property

Allows to control exception-handling in calculation. Default is .

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public Func<Exception, bool> HandleCalculationException { get; set; }

Property Value

Type: FuncException, Boolean
Remarks

Exceptions in calculation will be passed to this method. If it returns the transaction will restore dataset-state and transation-state to the state before calculation and throws a BcfCalculationException.

If returns the transations MustRollback property will be set to and exception remains unhandled.
See Also