Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IPlatformTransactionManager.Commit Method

Commit the given transaction, with regard to its status.

[Visual Basic]
Public Sub Commit( _
   ByVal transactionStatus As ITransactionStatus _
)
[C#]
void Commit(
   ITransactionStatus transactionStatus
);

Parameters

transactionStatus
The ITransactionStatus instance returned by the GetTransaction() method.

Remarks

If the transaction has been marked rollback-only programmatically, perform a rollback.

If the transaction wasn't a new one, omit the commit to take part in the surrounding transaction properly.

Exceptions

Exception Type Condition
TransactionException In case of commit or system errors

See Also

IPlatformTransactionManager Interface | Spring.Transaction Namespace