I need to employ multi-threading in order to reduce the time taken to call multiple functions.
With multiple reference IDs, I used a Parallel.For loop to retrieve profile results in C#. Yet the following error occurs.
Even if I set the MaxDegreeOfParallelism to 2. This error occurs sometime.
Can someone advice / provide a solution ?