title: How to add layer, created by another thread, to Axmapcontrol
body: <p>I have a geodatabase that contains raster datasets. I can read these datasets and convert them to layer. I want to add these layers, created another thread, to axmapcontrol but i got the error "vshost32 has stopped working".</p>
  
  <p>I tried Invoke method, Action method and Backgroundworker but none of them worked. Actually I've found a way to do this but it is not useful. I can store layers as file and then read again with AddLayersFromFile method. It is slower than single threaded architecture but still multithreaded. However, if i am going to use layer files, why i am using geodatabase.</p>
  
  <p>Finally, how can I add layers to axmapcontrol in multithreaded structure. Hope you will help me.</p>