Sdílet prostřednictvím


TestResult – konstruktor (String, Guid, ITestElement)

Inicializuje novou instanci TestResult třídy pomocí poskytnutý název, ID spustit test a test prvku.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    computerName As String, _
    runId As Guid, _
    test As ITestElement _
)
public TestResult(
    string computerName,
    Guid runId,
    ITestElement test
)
public:
TestResult(
    String^ computerName, 
    Guid runId, 
    ITestElement^ test
)
new : 
        computerName:string * 
        runId:Guid * 
        test:ITestElement -> TestResult
public function TestResult(
    computerName : String, 
    runId : Guid, 
    test : ITestElement
)

Parametry

  • computerName
    Typ: System.String
    Název počítače, který podává výsledek testu.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

TestResult Třída

TestResult – přetížení

Microsoft.VisualStudio.TestTools.Common – obor názvů

ITestElement