We are trying to send request to multiple web services using Parallel.Invoke
We would like to make sure that the following should actions should be performed and all the threads should be disposed after completing the task.
Condition 1: Where if we get response from both these web services before specified time, system should dispose all threads at the same time.
Condition 2: If we get response from one of the web service and other one doesn’t respond by the specified time then it should dispose all threads at the time limit specified by us.
Go to the complete details ...