Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAspectSupport.CurrentTransactionStatus Property

Returns the ITransactionStatus of the current method invocation.

[Visual Basic]
Public Shared ReadOnly Property CurrentTransactionStatus() As ITransactionStatus
   Public Get
   End Get
End Property
public static ITransactionStatus CurrentTransactionStatus { public get; }


Mainly intended for code that wants to set the current transaction rollback-only but not throw an application exception.


Exception Type Condition
NoTransactionException If the transaction info cannot be found, because the method was invoked outside of an AOP invocation context.

See Also

TransactionAspectSupport Class | Spring.Transaction.Interceptor Namespace