Partilhar via


Construtor TestRunTextResultMessage (ComputerInfo, Guid, String, TestMessageKind)

Observação: esta API agora está obsoleta.

Inicializa uma nova instância da classe TestRunTextResultMessage.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (em Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxe

'Declaração
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes computerName instead.")> _
Public Sub New ( _
    computerInfo As ComputerInfo, _
    runId As Guid, _
    messageText As String, _
    messageKind As TestMessageKind _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes computerName instead.")]
public TestRunTextResultMessage(
    ComputerInfo computerInfo,
    Guid runId,
    string messageText,
    TestMessageKind messageKind
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes computerName instead.")]
public:
TestRunTextResultMessage(
    ComputerInfo^ computerInfo, 
    Guid runId, 
    String^ messageText, 
    TestMessageKind messageKind
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes computerName instead.")>]
new : 
        computerInfo:ComputerInfo * 
        runId:Guid * 
        messageText:string * 
        messageKind:TestMessageKind -> TestRunTextResultMessage
public function TestRunTextResultMessage(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    messageText : String, 
    messageKind : TestMessageKind
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

TestRunTextResultMessage Classe

Sobrecargas TestRunTextResultMessage

Namespace Microsoft.VisualStudio.TestTools.Common

ComputerInfo

TestMessageKind