Remote MarshalByRef objects lifetimes
-
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."
-
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."
override
InitializeLifetimeService()
and returnnull
:) 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 -
override
InitializeLifetimeService()
and returnnull
:) 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 -
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."