Click or drag to resize

BcfDataSetHandleCalculationException Property

[This is preliminary documentation and is subject to change.]

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

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
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 true the transaction will restore dataset-state and transation-state to the state before calculation and throws a BcfCalculationException.

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