Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionDelegate Delegate

Callback delegate for performing actions within a transactional context.

[Visual Basic]
Public Delegate Function TransactionDelegate( _
   ByVal status As ITransactionStatus _
)
[C#]
public delegate object TransactionDelegate(
   ITransactionStatus status
);

Parameters

status
The status of the transaction, can be used to trigger a rollback the current transaction by settings its RollbackOnly property to true.

Return Value

A result object or null.

Remarks

To be used with TransactionTemplate's Execute methods.

Typically used to gather various calls to transaction-unaware low-level services into a higher-level method implementation with transaction demarcation.

Requirements

Namespace: Spring.Transaction.Support

Assembly: Spring.Data (in Spring.Data.dll)

See Also

Spring.Transaction.Support Namespace