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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top