What is the best way for passing a "non-serialized" object to another appdomain without Serilization/Deserialization ?
More detail: I'm going to invoke a function (from external assembly/plugin) in new appdomain and pass the result to main appdomain (main program). but (unfortunately) the result type is not serializable and therefore i faced to SerializationException
limitations:
the non-serialized type is in external assembly/dll. So i cannot mark it as serializable with attribute.
If you want to pass it through the remoting infrastructure it must be either by ref or serializable.
Since this type is neither you have limited options:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.