channel example implementation
[mono.git] / mcs / class / corlib / System / MarshalByRefObject.cs
1 //
2 // System.MarshalByRefObject.cs
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Runtime.Remoting;
11
12 namespace System {
13
14         [Serializable]
15         public abstract class MarshalByRefObject {
16
17                 public virtual ObjRef CreateObjRef (Type type)
18                 {
19                         return new ObjRef (this, type);
20                 }
21
22                 public object GetLifetimeService ()
23                 {
24                         return null;
25                 }
26
27                 public virtual object InitializeLifetimeService ()
28                 {
29                         return null;
30                 }
31
32                 protected MarshalByRefObject ()
33                 {
34                 }
35         }
36 }