|
BcfTransactionRollback Method (Exception) |
Discards the transaction and restores the data from state before the transaction started.
Namespace: CalculationWorks.BusinessModelAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax public void Rollback(
Exception reason
)
Public Sub Rollback (
reason As Exception
)
Parameters
- reason
- Type: SystemException
When an exception occurs the reason will be placed as inner exception - or in case of a BcfRollbackException as Reason property. Default is null.
Exceptions Remarks Before every end of any transaction or subtransaction and every begin of a subtransaction the queued calculations and validations will be processed.
See Also