[This is preliminary documentation and is subject to change.]
Discards the transaction and restores the data from state before the transaction started.
Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax
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.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | IsCurrent and IsCommitted are false IsCommitted is true |
BcfRollbackException | Rollback failed. |
Remarks
See Also