Class LevelOfParallelizationAttribute
LevelOfParallelizationAttribute is used to set the number of worker threads that may be allocated by the framework for running tests.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class LevelOfParallelizationAttribute : PropertyAttribute, IApplyToTest
- Inheritance
-
LevelOfParallelizationAttribute
- Implements
- Inherited Members
Constructors
LevelOfParallelizationAttribute(int)
Construct a LevelOfParallelizationAttribute.
public LevelOfParallelizationAttribute(int level)
Parameters
level
intThe number of worker threads to be created by the framework.