ParallelizeAttribute.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.