Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPlatformTransactionManager.DoSuspend Method

Suspend the resources of the current transaction.

[Visual Basic]
Protected Overridable Sub DoSuspend( _
   ByVal transaction As Object _
protected virtual object DoSuspend(
   object transaction


Transaction object returned by DoGetTransaction.

Return Value

An object that holds suspended resources (will be kept unexamined for passing it into DoResume.)


Transaction synchronization will already have been suspended.

Default implementation throws a TransactionSuspensionNotSupportedException, assuming that transaction suspension is generally not supported.


Exception TypeCondition
IllegalTransactionStateException If suspending is not supported by the transaction manager implementation.
TransactionException in case of system errors.

See Also

AbstractPlatformTransactionManager Class | Spring.Transaction.Support Namespace