Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionSynchronizationManager.ActualTransactionActive Property

Gets or sets a value indicating whether there currently is an actual transaction active.

[Visual Basic]
Public Shared Property ActualTransactionActive() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public static bool ActualTransactionActive { public get; public set; }

Property Value

true if [actual transaction active]; otherwise, false.


This indicates wheter the current thread is associated with an actual transaction rather than just with active transaction synchronization.

Called by the transaction manager on transaction begin and on cleanup.

To be called by resource management code that wants to discriminate between active transaction synchronization (with or without backing resource transaction; also on PROPAGATION_SUPPORTS) and an actual transaction being active; on PROPAGATION_REQUIRES, PROPAGATION_REQUIRES_NEW, etC)

See Also

TransactionSynchronizationManager Class | Spring.Transaction.Support Namespace