Select to view content in your preferred language

Can I create Map objects in a thread?

715
1
08-24-2011 02:36 PM
SuiHuang
Frequent Contributor
Hi Experts:

    I am trying to write a SL program that starts multiple threads, and create a map in each thread. However, I got an "Invalid cross-thread access" error when the program is trying to initialize the maps in the threads.
    I want to ask, does the Map class support multithreading? Or I must use it in the main thread of the SL application?
    Thank you.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
0 Kudos