Share via


TestRunTextResultMessage Constructor (ComputerInfo, Guid, String, TestMessageKind)

Note: This API is now obsolete.

Initializes a new instance of the TestRunTextResultMessage class.

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

Syntax

'Declaration
<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
)

Parameters

  • runId
    Type: Guid

    A Guid that identifies the test run.

  • messageText
    Type: String

    The text for the message.

.NET Framework Security

See Also

Reference

TestRunTextResultMessage Class

TestRunTextResultMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace

ComputerInfo

TestMessageKind