Passing parameters to new AppDomain

  • Thread starter Thread starter Vladimir Semenov
  • Start date Start date
V

Vladimir Semenov

Hello,

Is there a way to pass some data to domain created by AppDomain.CreateDomain
so they will be available for custom configuration section handlers?

As I can understand the custom handlers are invoked on first access to
configuration section (i.e. not inside CreateDomain) so I can call
newDomain.SetData() to pass parameters and then creates objects. Can I rely
on such behavior of handlers in nearest future version of .NET framework?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top