开发者

How to determine if object in another AppDomain has gone

开发者 https://www.devze.com 2022-12-30 16:45 出处:网络
I instantiate an object of some class in other ApDomain using CreateInstanceAndUnwrap(). I can determine if this object resides开发者_如何学Python in other domain by using RemotingServices.IsTranspare

I instantiate an object of some class in other ApDomain using CreateInstanceAndUnwrap(). I can determine if this object resides开发者_如何学Python 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消