Confused about ProConcepts articles

04-23-2020 06:23 AM
Occasional Contributor III

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: 

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? , 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