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 _
)
[C#]
protected virtual 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.

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

Exceptions

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