Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionCallbackWithoutResult.DoInTransactionWithoutResult Method

Gets called by TransactionTemplate.execute within a transactional context when no return value is required.

[Visual Basic]
Public MustOverride Sub DoInTransactionWithoutResult( _
   ByVal status As ITransactionStatus _
public abstract void DoInTransactionWithoutResult(
   ITransactionStatus status


The status.


Does not need to care about transactions itself, although it can retrieve and influence the status of the current transaction via the given status object, e.g. setting rollback-only. A RuntimeException thrown by the callback is treated as application exception that enforces a rollback. An exception gets propagated to the caller of the template.

See Also

TransactionCallbackWithoutResult Class | Spring.Transaction.Support Namespace