TestRunTextResultMessage 构造函数 (ComputerInfo, Guid, String, TestMessageKind)

注意:此 API 现在已过时。

初始化 TestRunTextResultMessage 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

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

参数

.NET Framework 安全性

请参见

参考

TestRunTextResultMessage 类

TestRunTextResultMessage 重载

Microsoft.VisualStudio.TestTools.Common 命名空间

ComputerInfo

TestMessageKind