LevelOfParallelismAttribute public sealed class LevelOfParallelismAttribute : PropertyAttribute Sets the number of worker threads that may be allocated by the framework for running tests. Documentation Code public LevelOfParallelismAttribute(int level) Construct a LevelOfParallelismAttribute.