2 // TransactionManager.cs
5 // Atsushi Enomoto <atsushi@ximian.com>
9 using System.Collections;
10 using System.Collections.Specialized;
14 namespace System.Transactions
16 public static class TransactionManager
18 // it could contain both Transaction and non-tx (Suppress).
19 static Stack tx_states = new Stack ();
22 public static TimeSpan DefaultTimeout {
23 get { throw new NotImplementedException (); }
27 public static HostCurrentTransactionCallback HostCurrentCallback {
28 get { throw new NotImplementedException (); }
29 set { throw new NotImplementedException (); }
33 public static TimeSpan MaximumTimeout {
34 get { throw new NotImplementedException (); }
38 public static void RecoveryComplete (Guid manager)
40 throw new NotImplementedException ();
44 public static Enlistment Reenlist (Guid manager,
46 IEnlistmentNotification notification)
48 throw new NotImplementedException ();
51 public static event TransactionStartedEventHandler
52 DistributedTransactionStarted;
55 internal static Transaction Current {
57 if (tx_states.Count == 0)
59 return tx_states.Peek () as Transaction;
62 throw new NotImplementedException ();
66 internal static void BeginScope (TransactionScope scope)
68 throw new NotImplementedException ();
71 internal static void EndScope (TransactionScope scope)
73 throw new NotImplementedException ();