Merge pull request #2566 from lambdageek/monoerror-mono_module_get_object
[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 using System.Runtime.Serialization;
11
12 namespace System.Transactions
13 {
14         [MonoTODO ("Not supported yet")]
15         [Serializable]
16         public sealed class DependentTransaction : Transaction, ISerializable
17         {
18 //              Transaction parent;
19 //              DependentCloneOption option;
20                 bool completed;
21
22                 internal DependentTransaction (Transaction parent,
23                         DependentCloneOption option)
24                 {
25 //                      this.parent = parent;
26 //                      this.option = option;
27                 }
28
29                 internal bool Completed {
30                         get { return completed; }
31                 }
32
33                 [MonoTODO]
34                 public void Complete ()
35                 {
36                         throw new NotImplementedException ();
37                 }
38
39                 void ISerializable.GetObjectData (SerializationInfo info,
40                         StreamingContext context)
41                 {
42 //                      parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
43 //                      option = (DependentCloneOption) info.GetValue (
44 //                              "option", typeof (DependentCloneOption));
45                         completed = info.GetBoolean ("completed");
46                 }
47         }
48 }
49