Select to view content in your preferred language

Confused about ProConcepts articles

398
0
04-23-2020 06:23 AM
AbelPerez
Frequent Contributor

So forgive me as I navigate the plethora of documentation. As Im going through the ProConcepts articles on Geoprocessing i came across several things that are confusing:

https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing#executing-a-tool-with-event-ha... 

Was it meant for the _cts.Cancel to be included only in the first case? Putting it on the second and third cases will cancel the process as soon as progress is reported, correct?

https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing#executing-a-tool-with-the-prog... , The parameters of the ExecuteToolAsync include new CancelableProgressorSource(progDlg).Progressor and thats ok. however this variable is already declared with var progSrc = new CancelableProgressorSource(progDlg). So shouldn't the parameter be progSrc.Progressor otherwise progSrc is declared but never used.

0 Kudos
0 Replies