2 // SinglePhaseEnlistment.cs
5 // Atsushi Enomoto <atsushi@ximian.com>
6 // Ankit Jain <JAnkit@novell.com>
14 namespace System.Transactions
16 public class SinglePhaseEnlistment : Enlistment
20 ISinglePhaseNotification enlisted;
22 internal SinglePhaseEnlistment (Transaction tx, ISinglePhaseNotification enlisted)
25 this.enlisted = enlisted;
28 public void Aborted ()
33 public void Aborted (Exception e)
35 tx.Rollback (e, enlisted);
39 public void Committed ()
45 [MonoTODO ("Not implemented")]
46 public void InDoubt ()
48 throw new NotImplementedException ();
51 [MonoTODO ("Not implemented")]
52 public void InDoubt (Exception e)
54 throw new NotImplementedException ();