<?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 Arcgis Add feature task got cancelled in Esri India Questions</title>
    <link>https://community.esri.com/t5/esri-india-questions/arcgis-add-feature-task-got-cancelled/m-p/1085299#M235</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;We were trying to add a feature to the feature server using following snippet,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;PRE&gt;           // Add the feature to the table.
           await serviceFeatureTable.AddFeatureAsync(feature);

           // Apply the edits to the service.
           await serviceFeatureTable.ApplyEditsAsync();&lt;/PRE&gt;&lt;P&gt;It works most of the time but on rare case while adding an asset it take too much time to process and got timeout eventually gives&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TaskCancelledException&lt;/STRONG&gt;, but the operation has been done as the item added in the server.&lt;/P&gt;&lt;P&gt;Does anybody have any ideas how to handle this situation or any thread related to this please share, thanks.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Aug 2021 13:23:13 GMT</pubDate>
    <dc:creator>Riyasdsrc</dc:creator>
    <dc:date>2021-08-03T13:23:13Z</dc:date>
    <item>
      <title>Arcgis Add feature task got cancelled</title>
      <link>https://community.esri.com/t5/esri-india-questions/arcgis-add-feature-task-got-cancelled/m-p/1085299#M235</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;We were trying to add a feature to the feature server using following snippet,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;PRE&gt;           // Add the feature to the table.
           await serviceFeatureTable.AddFeatureAsync(feature);

           // Apply the edits to the service.
           await serviceFeatureTable.ApplyEditsAsync();&lt;/PRE&gt;&lt;P&gt;It works most of the time but on rare case while adding an asset it take too much time to process and got timeout eventually gives&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TaskCancelledException&lt;/STRONG&gt;, but the operation has been done as the item added in the server.&lt;/P&gt;&lt;P&gt;Does anybody have any ideas how to handle this situation or any thread related to this please share, thanks.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Aug 2021 13:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/arcgis-add-feature-task-got-cancelled/m-p/1085299#M235</guid>
      <dc:creator>Riyasdsrc</dc:creator>
      <dc:date>2021-08-03T13:23:13Z</dc:date>
    </item>
  </channel>
</rss>

