|
If you need to take some action when the transaction is rolled back, you must write your own implementation of the System.Transactions.IEnlistmentNotification interface, and ...
|
|
Starting with the first, it seems to me that the two mechanisms (javax.transction.Synchronization, and the System.Transactions.IEnlistmentNotification mechanism above) are pretty ...
|
|
To receive transaction notifications, take a look at the IEnlistmentNotification interface ( http://msdn2.microsoft.com/en-us/library/system.transactions.ienlistmentnotification.aspx
|
|
To receive transaction notifications, take a look at the IEnlistmentNotification interface ( http://msdn2.microsoft.com/en-us/library/system.transactions.ienlistmentnotification.aspx
|
|
Private Sub Commit( ByVal enlistment As System.Transactions.Enlistment) Implements System.Transactions.IEnlistmentNotification.Commit. If oledbtransaction IsNot Nothing Then oledbtransaction ...
|
|
... System.Transactions.IEnlistmentNotification.Prepare Console.WriteLine("Prepare notification received") 'Do work to be included in the transaction 'If ...
|
|
... System.Transactions.IEnlistmentNotification.Prepare Console.WriteLine( "Prepare notification received" ) 'Perform transactional work 'If work finished ...
|
|
... System.Transactions.IEnlistmentNotification.Prepare Console.WriteLine( "Prepare notification received" ) 'Perform transactional work 'If work finished ...
|