TestResultId Constructor (Guid, TestExecId, TestExecId, TestId)
Initializes a new instance of the TestResultId class by using the provided test run ID, execution ID, parent execution ID, and test ID.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
runId As Guid, _
executionId As TestExecId, _
parentExecutionId As TestExecId, _
testId As TestId _
)
public TestResultId(
Guid runId,
TestExecId executionId,
TestExecId parentExecutionId,
TestId testId
)
public:
TestResultId(
Guid runId,
TestExecId^ executionId,
TestExecId^ parentExecutionId,
TestId^ testId
)
new :
runId:Guid *
executionId:TestExecId *
parentExecutionId:TestExecId *
testId:TestId -> TestResultId
public function TestResultId(
runId : Guid,
executionId : TestExecId,
parentExecutionId : TestExecId,
testId : TestId
)
Parameters
- runId
Type: System.Guid
A Guid for the test run.
- executionId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecId
A TestExecId object.
- parentExecutionId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecId
A TestExecId object for the parent test.
- testId
Type: Microsoft.VisualStudio.TestTools.Common.TestId
A TestId object.
.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.