-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: SitaramanM
Message 2 in Discussion

Hi   Though it is good practice to write setabort explicitly it is not mandatory.  The 
basis for this is the way Distributed Transactions work.  Lets say 3 Components 
participate in a transaction.  What actually happens is a Voting Process.  The 
Distributed Transaction Coordinator will monitor each participant that enlists in a 
given transactions.  Every component performs its tasks and votes yes(SetComplete) or 
no(SetAbort).  After all the Components are done with their work What the Coordinator 
does is that checks whether all the participants have voted Yes or not(All 3 
components called SetComplet).  Even If one Participant has called SetAbort(or to be 
precise even if one participant has NOT called SetComplete) then the transaction will 
be rolled back   So if 3 components participated there HAS TO BE 3 Calls to 
SetComplete. So in your case even if the componen t does not call SetAbort explicitly, 
it is implicit.   hth   regards, sr

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to