System.MarshalByRefObject.InitializeLifetimeService C# (CSharp) Method

InitializeLifetimeService() private method

private InitializeLifetimeService ( ) : Object
return Object
        public virtual Object InitializeLifetimeService()
        {
            return LifetimeServices.GetLeaseInitial(this);
        }

Usage Example

Example #1
0
 static int InitializeLifetimeService(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.MarshalByRefObject obj = (System.MarshalByRefObject)ToLua.CheckObject(L, 1, typeof(System.MarshalByRefObject));
         object o = obj.InitializeLifetimeService();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
All Usage Examples Of System.MarshalByRefObject::InitializeLifetimeService