TestResultId – konstruktor (Guid, TestExecId, TestExecId, TestId)
Inicializuje novou instanci TestResultId pomocí ID poskytnutého testu, ID spuštění, spuštění ID nadřazené třídy a test ID.
Obor názvů: Microsoft.VisualStudio.TestTools.Common
Sestavení: Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)
Syntaxe
'Deklarace
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
)
Parametry
runId
Typ: GuidA Guid pro zkoušky.
executionId
Typ: Microsoft.VisualStudio.TestTools.Common.TestExecIdObjekt TestExecId.
parentExecutionId
Typ: Microsoft.VisualStudio.TestTools.Common.TestExecIdA TestExecId pro test nadřazený objekt.
testId
Typ: Microsoft.VisualStudio.TestTools.Common.TestIdObjekt TestId.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.