<?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 URGENT in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/urgent/m-p/573032#M14716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a collection of points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I want to get the addresses of these points via my addresslocator task on ArcGIS Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in a loop I am calling the locationToAddressAsync method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it gives error "Task doesn't support concurrent I/O operaations..............."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know that what index of point in the collection I am trying to get the address?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;addhandler task.locationtoAddressCompleted, addressof Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for i as integer = 1 to PointsCollection.count&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;task.locationtoAddressAsync( pointscollection(i) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in method Y how can I understand the the index of that point in the colletion..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I also want to say that I am writing in VB.NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something different in C# I think&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2012 13:25:47 GMT</pubDate>
    <dc:creator>TubaKumbara</dc:creator>
    <dc:date>2012-09-10T13:25:47Z</dc:date>
    <item>
      <title>URGENT</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/urgent/m-p/573032#M14716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a collection of points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I want to get the addresses of these points via my addresslocator task on ArcGIS Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in a loop I am calling the locationToAddressAsync method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it gives error "Task doesn't support concurrent I/O operaations..............."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know that what index of point in the collection I am trying to get the address?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;addhandler task.locationtoAddressCompleted, addressof Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for i as integer = 1 to PointsCollection.count&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;task.locationtoAddressAsync( pointscollection(i) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in method Y how can I understand the the index of that point in the colletion..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I also want to say that I am writing in VB.NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something different in C# I think&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 13:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/urgent/m-p/573032#M14716</guid>
      <dc:creator>TubaKumbara</dc:creator>
      <dc:date>2012-09-10T13:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/urgent/m-p/573033#M14717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am calling the locationToAddressAsync method.&lt;BR /&gt; But it gives error "Task doesn't support concurrent I/O operaations..............."&lt;BR /&gt; What should I do?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will either need to create a new instance of the Locator class for each address or wait until the LocationtoAddressAsync completes before making your next request to the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;in method Y how can I understand the the index of that point in the colletion&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;When you calll LocationtoAddressAsync used the overload that allows you to pass in an object.&amp;nbsp; You can then access it via the UserState property of the AddressEventArgs in method Y. See - &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Locator~LocationToAddressAsync.html"&gt;http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Locator~LocationToAddressAsync.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 14:43:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/urgent/m-p/573033#M14717</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2012-09-10T14:43:39Z</dc:date>
    </item>
  </channel>
</rss>

