Hi Antti,
Thanks for the suggestion! I'm actually working with a class called Geoprocessor. I couldn't find a geoprocessingTask class, so I don't have a CreateJob function. However, I do have a function called SubmitJob and I'm able to run a function called CheckJobStatus to check the status of the job.
I'm having two problems here:
1- It's a WCF Service and I need to return an output. I want to return an output based on the result but I need to wait for the result before retrieving it.. and it doesn't work well.. Right after the job execution I run the status check and it fails.
2- I'm unable to retrieve the output. The documentation shows an example with an event called JobCompleted, but I can't seem to reach it.. might be because of the first problem I mentioned.. it's a WCF service and a result must return.
maybe it's for a new post..?
Thanks,
Shay.