2 // DependentTransaction.cs
5 // Atsushi Enomoto <atsushi@ximian.com>
11 using System.Runtime.Serialization;
13 namespace System.Transactions
16 public sealed class DependentTransaction : Transaction, ISerializable
19 DependentCloneOption option;
22 internal DependentTransaction (Transaction parent,
23 DependentCloneOption option)
29 internal bool Completed {
30 get { return completed; }
34 public void Complete ()
36 throw new NotImplementedException ();
40 void ISerializable.GetObjectData (SerializationInfo info,
41 StreamingContext context)
43 parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
44 option = (DependentCloneOption) info.GetValue (
45 "option", typeof (DependentCloneOption));
46 completed = info.GetBoolean ("completed");