<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I create Map objects in a thread? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-create-map-objects-in-a-thread/m-p/408387#M10636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Experts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to ask, does the Map class support multithreading? Or I must use it in the main thread of the SL application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 21:36:32 GMT</pubDate>
    <dc:creator>SuiHuang</dc:creator>
    <dc:date>2011-08-24T21:36:32Z</dc:date>
    <item>
      <title>Can I create Map objects in a thread?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-create-map-objects-in-a-thread/m-p/408387#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Experts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to ask, does the Map class support multithreading? Or I must use it in the main thread of the SL application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 21:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-create-map-objects-in-a-thread/m-p/408387#M10636</guid>
      <dc:creator>SuiHuang</dc:creator>
      <dc:date>2011-08-24T21:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create Map objects in a thread?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-create-map-objects-in-a-thread/m-p/408388#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Dispatcher.BeginInvoke() &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.begininvoke%28v=vs.95%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.begininvoke%28v=vs.95%29.aspx&lt;/A&gt;&lt;SPAN&gt;. There is a sample in this blog post: &lt;/SPAN&gt;&lt;A href="http://10rem.net/blog/2010/04/23/essential-silverlight-and-wpf-skills-the-ui-thread-dispatchers-background-workers-and-async-network-programming"&gt;http://10rem.net/blog/2010/04/23/essential-silverlight-and-wpf-skills-the-ui-thread-dispatchers-background-workers-and-async-network-programming&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 18:48:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-create-map-objects-in-a-thread/m-p/408388#M10637</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-25T18:48:52Z</dc:date>
    </item>
  </channel>
</rss>

