Partager via


TestRunTextResultMessage Constructor (String, Guid, String, TestMessageKind)

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
Public Sub New ( _
    computerName As String, _
    runId As Guid, _
    messageText As String, _
    messageKind As TestMessageKind _
)
public TestRunTextResultMessage(
    string computerName,
    Guid runId,
    string messageText,
    TestMessageKind messageKind
)
public:
TestRunTextResultMessage(
    String^ computerName, 
    Guid runId, 
    String^ messageText, 
    TestMessageKind messageKind
)
new : 
        computerName:string * 
        runId:Guid * 
        messageText:string * 
        messageKind:TestMessageKind -> TestRunTextResultMessage
public function TestRunTextResultMessage(
    computerName : String, 
    runId : Guid, 
    messageText : String, 
    messageKind : TestMessageKind
)

Parameters

  • computerName
    Type: String

    The name of the machine that ran the test.

  • 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

TestMessageKind