Select to view content in your preferred language

Drive Time - Error on GeoprocessorTask_ExecuteCompleted

696
1
10-13-2010 11:39 AM
ShaningYu
Honored Contributor
I loaded ESRI' source code for Drive Times from http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DriveTimes.
However, I got 1 error at
           _geoprocessorTask.ExecuteCompleted += GeoprocessorTask_ExecuteCompleted;

Error 1 The call is ambiguous between the following methods or properties: 'UnBlendedCS1_Oct1.DriveTime.GeoprocessorTask_ExecuteCompleted(object, ESRI.ArcGIS.Client.Tasks.GPExecuteCompleteEventArgs)' and 'UnBlendedCS1_Oct1.DriveTime.GeoprocessorTask_ExecuteCompleted(object, ESRI.ArcGIS.Client.Tasks.GPExecuteCompleteEventArgs)'

Thanks for your review and provide your hint for the solution.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Ambiguous call means you have defined that method more than once so it is unsure which method to call. Find all references on GeoprocessorTask_ExecuteCompleted, to see if it was duplicated.
0 Kudos