Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remote MarshalByRef objects lifetimes

Remote MarshalByRef objects lifetimes

Scheduled Pinned Locked Moved C#
question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Den2Fly
    wrote on last edited by
    #1

    Hi buddies, I have created a remote object in another AppDomain, after a short time of inactivity it seems to be disconnected and removed because next time I call some method on it, an exception says that the object doesn't exists or it is disconnected. How can I set lifetime of remote objects? May I set it to live till I explicitly remove it ? Thank you so much, - Mohammad --- "Art happens when you least expect it."

    L 1 Reply Last reply
    0
    • D Den2Fly

      Hi buddies, I have created a remote object in another AppDomain, after a short time of inactivity it seems to be disconnected and removed because next time I call some method on it, an exception says that the object doesn't exists or it is disconnected. How can I set lifetime of remote objects? May I set it to live till I explicitly remove it ? Thank you so much, - Mohammad --- "Art happens when you least expect it."

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      override InitializeLifetimeService() and return null :) xacc.ide-0.1.0.12 released! Now even prettier than the last build :) Download and screenshots -- modified at 12:17 Monday 12th December, 2005

      D 1 Reply Last reply
      0
      • L leppie

        override InitializeLifetimeService() and return null :) xacc.ide-0.1.0.12 released! Now even prettier than the last build :) Download and screenshots -- modified at 12:17 Monday 12th December, 2005

        D Offline
        D Offline
        Den2Fly
        wrote on last edited by
        #3

        Thank you so much leppie, you have helped me lots of times, I hope I can help u back someday buddy :-) --- "Art happens when you least expect it."

        L 1 Reply Last reply
        0
        • D Den2Fly

          Thank you so much leppie, you have helped me lots of times, I hope I can help u back someday buddy :-) --- "Art happens when you least expect it."

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          No problem :) xacc.ide-0.1.0.12 released! Now even prettier than the last build :) Download and screenshots

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups