how to call a method of a class from another appDomain

后端 未结 1 1434
慢半拍i
慢半拍i 2020-12-11 03:34

my application want to call a method of a class that is from another AppDomain.

       AppDomain env = AppDomain.CreateDomain(
            \"test\",
                 


        
相关标签:
1条回答
  • 2020-12-11 04:17

    Mark the object that you want to use for cross appdomain communication as MarshalByRefObject.

    0 讨论(0)
提交回复
热议问题