Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / System.Transactions / System.Transactions / DependentTransaction.cs
1 //
2 // DependentTransaction.cs
3 //
4 // Author:
5 //      Atsushi Enomoto  <atsushi@ximian.com>
6 //
7 // (C)2005 Novell Inc,
8 //
9
10 #if NET_2_0
11 using System.Runtime.Serialization;
12
13 namespace System.Transactions
14 {
15         [MonoTODO ("Not supported yet")]
16         [Serializable]
17         public sealed class DependentTransaction : Transaction, ISerializable
18         {
19 //              Transaction parent;
20 //              DependentCloneOption option;
21                 bool completed;
22
23                 internal DependentTransaction (Transaction parent,
24                         DependentCloneOption option)
25                 {
26 //                      this.parent = parent;
27 //                      this.option = option;
28                 }
29
30                 internal bool Completed {
31                         get { return completed; }
32                 }
33
34                 [MonoTODO]
35                 public void Complete ()
36                 {
37                         throw new NotImplementedException ();
38                 }
39
40                 void ISerializable.GetObjectData (SerializationInfo info,
41                         StreamingContext context)
42                 {
43 //                      parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
44 //                      option = (DependentCloneOption) info.GetValue (
45 //                              "option", typeof (DependentCloneOption));
46                         completed = info.GetBoolean ("completed");
47                 }
48         }
49 }
50
51 #endif