Arcgis Add feature task got cancelled

462
0
08-03-2021 06:23 AM
Riyasdsrc
New Contributor II
We were trying to add a feature to the feature server using following snippet,
           // Add the feature to the table.
           await serviceFeatureTable.AddFeatureAsync(feature);

           // Apply the edits to the service.
           await serviceFeatureTable.ApplyEditsAsync();

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 TaskCancelledException, but the operation has been done as the item added in the server.

Does anybody have any ideas how to handle this situation or any thread related to this please share, thanks.

0 Kudos
0 Replies