Udostępnij za pośrednictwem


ParallelizeAttribute.Scope Property

Definition

Gets or sets the scope of the parallel run.

public:
 property Microsoft::VisualStudio::TestTools::UnitTesting::ExecutionScope Scope { Microsoft::VisualStudio::TestTools::UnitTesting::ExecutionScope get(); void set(Microsoft::VisualStudio::TestTools::UnitTesting::ExecutionScope value); };
public Microsoft.VisualStudio.TestTools.UnitTesting.ExecutionScope Scope { get; set; }
member this.Scope : Microsoft.VisualStudio.TestTools.UnitTesting.ExecutionScope with get, set
Public Property Scope As ExecutionScope

Property Value

Remarks

To enable all classes to run in parallel set this to ClassLevel. To get the maximum parallelization level set this to MethodLevel.

Applies to