TestResultMessage Constructor (ComputerInfo, Guid, TestMessageKind)

Note: This API is now obsolete.

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

Parameters

  • runId
    Type: Guid

    A Guid for the test run.

Remarks

This constructor is obsolete. Use TestResultMessage instead.

.NET Framework Security

See Also

Reference

TestResultMessage Class

TestResultMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestResultMessage

ComputerInfo

TestMessageKind