Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionSynchronizationManager.RegisterSynchronization Method

Register a new transaction synchronization for the current thread.

[Visual Basic]
Public Shared Sub RegisterSynchronization( _
   ByVal synchronization As ITransactionSynchronization _
)
[C#]
public static void RegisterSynchronization(
   ITransactionSynchronization synchronization
);

Remarks

Typically called by resource management code.

Exceptions

Exception Type Condition
InvalidOperationException If synchronization is not active.

See Also

TransactionSynchronizationManager Class | Spring.Transaction.Support Namespace