<?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 Why does table.QueryAsync hardly ever work? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729400#M9174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; var table = await ServiceFeatureTable.OpenAsync(new Uri(AGOL_URL_Class.GetURL() + LayerID), null, null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.Where = Where;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.OutFields = Fields;

var selected = await table.QueryAsync(Current_OBJECTID);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its just like all the samples and it gets stuck almost all the time at QueryAsync&lt;/P&gt;&lt;P&gt;It just turns null after 60 sections then the code continues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:08:51 GMT</pubDate>
    <dc:creator>MattMiley</dc:creator>
    <dc:date>2021-12-12T07:08:51Z</dc:date>
    <item>
      <title>Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729400#M9174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; var table = await ServiceFeatureTable.OpenAsync(new Uri(AGOL_URL_Class.GetURL() + LayerID), null, null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.Where = Where;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.OutFields = Fields;

var selected = await table.QueryAsync(Current_OBJECTID);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its just like all the samples and it gets stuck almost all the time at QueryAsync&lt;/P&gt;&lt;P&gt;It just turns null after 60 sections then the code continues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729400#M9174</guid>
      <dc:creator>MattMiley</dc:creator>
      <dc:date>2021-12-12T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729401#M9175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be a timeout?&lt;/P&gt;&lt;P&gt;Check request with fiddler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 07:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729401#M9175</guid>
      <dc:creator>ArneDahlman</dc:creator>
      <dc:date>2016-01-21T07:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729402#M9176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide more information on this case since this shouldn't not happen. If you can create a simple reproducer and attach to the thread, I'll give a look for it and see what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 09:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729402#M9176</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2016-01-21T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729403#M9177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had some other layers querying at the same time, that's what was messing it up. It loads fine by itself but with other traffic going on it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 16:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729403#M9177</guid>
      <dc:creator>MattMiley</dc:creator>
      <dc:date>2016-01-21T16:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729404#M9178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;I would a bit more information to be able to comment. Doing multiple queries from several layers shouldn't affect the query results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 10:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729404#M9178</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2016-01-25T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why does table.QueryAsync hardly ever work?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729405#M9179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll email the sample project to you, it has secured layers in it. I was wrong about it not working while loading other layers, it just doesn't work sometimes. its super annoying!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-does-table-queryasync-hardly-ever-work/m-p/729405#M9179</guid>
      <dc:creator>MattMiley</dc:creator>
      <dc:date>2016-01-25T19:04:17Z</dc:date>
    </item>
  </channel>
</rss>

