2 // PreparingEnlistment.cs
5 // Atsushi Enomoto <atsushi@ximian.com>
6 // Ankit Jain <JAnkit@novell.com>
14 using System.Threading;
16 namespace System.Transactions
18 public class PreparingEnlistment : Enlistment
20 bool prepared = false;
22 IEnlistmentNotification enlisted;
23 //WaitHandle waitHandle;
25 internal PreparingEnlistment (Transaction tx, IEnlistmentNotification enlisted)
28 this.enlisted = enlisted;
29 //waitHandle = new ManualResetEvent (false);
32 public void ForceRollback ()
38 public void ForceRollback (Exception ex)
40 tx.Rollback (ex, enlisted);
42 ((ManualResetEvent) waitHandle).Set (); */
46 public void Prepared ()
50 ((ManualResetEvent) waitHandle).Set ();*/
54 public byte [] RecoveryInformation ()
56 throw new NotImplementedException ();
59 internal bool IsPrepared {
60 get { return prepared; }
63 /*internal WaitHandle WaitHandle {
64 get { return waitHandle; }