Share via


TestResultMessage Constructor (String, Guid, TestMessageKind)

Initializes a new instance of the TestResultMessage class by using the provided computer name, test run ID, and test result kind.

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, _
    kind As TestMessageKind _
)
public TestResultMessage(
    string computerName,
    Guid runId,
    TestMessageKind kind
)
public:
TestResultMessage(
    String^ computerName, 
    Guid runId, 
    TestMessageKind kind
)
new : 
        computerName:string * 
        runId:Guid * 
        kind:TestMessageKind -> TestResultMessage
public function TestResultMessage(
    computerName : String, 
    runId : Guid, 
    kind : TestMessageKind
)

Parameters

  • computerName
    Type: String

    The name of the computer that executed the test run.

  • runId
    Type: Guid

    A Guid for the test run.

.NET Framework Security

See Also

Reference

TestResultMessage Class

TestResultMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestMessageKind