Konstruktor TestResultId — (Guid, TestExecId, TestExecId, TestId)
Inicjuje nowe wystąpienie TestResultId klasy przy użyciu przebieg testu podany identyfikator, wykonanie identyfikator ID wykonanie nadrzędnego i przetestować identyfikatora.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.Common
Zestaw: Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)
Składnia
'Deklaracja
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: System.Guid
A Guid dla wykonywania badania.
- executionId
Typ: Microsoft.VisualStudio.TestTools.Common.TestExecId
A TestExecId object.
- parentExecutionId
Typ: Microsoft.VisualStudio.TestTools.Common.TestExecId
A TestExecId obiektu dla badania nadrzędnej.
- testId
Typ: Microsoft.VisualStudio.TestTools.Common.TestId
A TestId object.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..