Pass and execute delegate in separate AppDomain

后端 未结 4 1842
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 13:27

I want to exceute some piece of code in separate AppDomain with delegate. How can I do this?

UPD1: some more details about my problem My program pro

4条回答
  •  醉酒成梦
    2020-12-04 13:55

    This doesn't answer your question directly but perhaps it would be better to create a WCF service or web service in the other AppDomain to preserve isolation. I don't know your particular situation but isolated architectural design is almost always the right way to go.

提交回复
热议问题