6 /// All objects which are marshalled by reference
7 /// and whose lifetime is manually controlled by
8 /// the app, should derive from this class rather
9 /// than MarshalByRefObject.
11 /// This includes the remote test domain objects
12 /// which are accessed by the client and those
13 /// client objects which are called back by the
14 /// remote test domain.
16 /// Objects in this category that already inherit
17 /// from some other class (e.g. from TextWriter)
18 /// which in turn inherits from MarshalByRef object
19 /// should override InitializeLifetimeService to
20 /// return null to obtain the same effect.
22 public class LongLivingMarshalByRefObject : MarshalByRefObject
24 public override Object InitializeLifetimeService()