Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoPlatformTransactionManager.DoSuspend Method

Suspend the resources of the current transaction.

[Visual Basic]
Protected Overrides Sub DoSuspend( _
   ByVal transaction As Object _
)
[C#]
protected override object DoSuspend(
   object transaction
);

Parameters

transaction
Transaction object returned by DoGetTransaction.

Return Value

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

Remarks

Transaction synchronization will already have been suspended.

Exceptions

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

See Also

AdoPlatformTransactionManager Class | Spring.Data.Core Namespace