How to determine if object in another AppDomain has gone

Posted by Dmitry Lobanov on Stack Overflow See other posts from Stack Overflow or by Dmitry Lobanov
Published on 2010-05-13T04:31:44Z Indexed on 2010/05/13 10:54 UTC
Read the original article Hit count: 190

Filed under:
|

I instantiate an object of some class in other ApDomain using CreateInstanceAndUnwrap(). I can determine if this object resides in other domain by using RemotingServices.IsTransparentProxy(). But can I determine if the real remote object has gone away (e.g. was garbage collected) without probing a call on proxy and catching RemotingException? Is it possible?

© Stack Overflow or respective owner

Related posts about remoting

Related posts about .NET