RollBack

  • Thread starter Thread starter wdewebserver
  • Start date Start date
W

wdewebserver

Hi

What is the best RollBack stratergy when you have the following scenario?
1. Task A executes first.
2. Task B depend on Task A completing successfully.
3. Task C also depend on Task A completing successfully.
4. Task D depend on both B and C successully completing.

If Task D aborts, I want all the Tasks to RollBack. Can you please advise on
the best way to accomplish this?

TIA
 
Hi,

You can mimic COM+ 'doomed' and 'happy' flags.
See "INFO: How Multiple Components Participate and Vote in a Single
Transaction" KB article in the MSDN.
 
Back
Top