Sdílet prostřednictvím


TestResultMessage – konstruktor (ComputerInfo, Guid, TestMessageKind)

Poznámka: Toto rozhraní API je nyní zastaralé.

Inicializuje novou instanci TestResultMessage třídy pomocí počítače poskytnutý název, ID testu a druhu výsledku testu.

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

Syntaxe

'Deklarace
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
    computerInfo As ComputerInfo, _
    runId As Guid, _
    kind As TestMessageKind _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultMessage(
    ComputerInfo computerInfo,
    Guid runId,
    TestMessageKind kind
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultMessage(
    ComputerInfo^ computerInfo, 
    Guid runId, 
    TestMessageKind kind
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new : 
        computerInfo:ComputerInfo * 
        runId:Guid * 
        kind:TestMessageKind -> TestResultMessage
public function TestResultMessage(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    kind : TestMessageKind
)

Parametry

Poznámky

Tento konstruktor je zastaralý. Použití TestResultMessage namísto.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

TestResultMessage Třída

TestResultMessage – přetížení

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

TestResultMessage

ComputerInfo

TestMessageKind