LimitedConcurrencyLevelTaskScheduler from Samples for Parallel Programming with the .NET Framework might be the solution here.
Also this should work for Portable Class Library so the code in
Also this should work for Portable Class Library so the code in
CommonParallel
would be simpler.