Initializes a new RunConfiguration object with a new TestRun.
Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
    testRun As TestRun _
)
public RunConfiguration(
    TestRun testRun
)
public:
RunConfiguration(
    TestRun^ testRun
)
new : 
        testRun:TestRun -> RunConfiguration
public function RunConfiguration(
    testRun : TestRun
)
Parameters
- testRun 
 Type: Microsoft.VisualStudio.TestTools.Common.TestRun- The TestRun to use to initialize this RunConfiguration. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.