2 // SinglePhaseEnlistment.cs
5 // Atsushi Enomoto <atsushi@ximian.com>
6 // Ankit Jain <JAnkit@novell.com>
14 namespace System.Transactions
16 public class SinglePhaseEnlistment : Enlistment
18 bool committed = false;
20 ISinglePhaseNotification enlisted;
22 internal SinglePhaseEnlistment (Transaction tx, ISinglePhaseNotification enlisted)
25 this.enlisted = enlisted;
29 public void Aborted ()
35 public void Aborted (Exception e)
37 tx.Rollback (e, enlisted);
41 public void Committed ()
48 public void InDoubt ()
50 throw new NotImplementedException ();
54 public void InDoubt (Exception e)
56 throw new NotImplementedException ();