none
How to synhronize data transfering between domains? RRS feed

  • Question

  • Hello again. I have two app domains. The first domain is default and the second one is a child. I need to send data from child domain to default domain. For that i use methods AppDomain.SetData and AppDomain.GetData. Everything is good but there is a problem. If default domain is trying to get data before child domain set it. In that case exception happens. How can i solve that problem? Thanks.
    Friday, February 17, 2012 10:07 AM

Answers

  • Sorry, that doesn't  make any sence. "DoCallBack" method of AppDomain is synchron so i needn't any synchronisation.
    • Marked as answer by Booster1 Friday, February 17, 2012 10:53 AM
    Friday, February 17, 2012 10:53 AM

All replies

  • Maybe i can use class "Monitor" or something like that. But maybe you can offer other decision?
    Friday, February 17, 2012 10:10 AM
  • Sorry, that doesn't  make any sence. "DoCallBack" method of AppDomain is synchron so i needn't any synchronisation.
    • Marked as answer by Booster1 Friday, February 17, 2012 10:53 AM
    Friday, February 17, 2012 10:53 AM