TcmInformation 构造函数

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

使用所提供的测试用例 ID、测试运行 ID 和测试结果 ID 初始化 TcmInformation 类的新实例。

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

语法

声明
Public Sub New ( _
    testCaseId As Integer, _
    testRunId As Integer, _
    testResultId As Integer _
)
public TcmInformation(
    int testCaseId,
    int testRunId,
    int testResultId
)
public:
TcmInformation(
    int testCaseId, 
    int testRunId, 
    int testResultId
)
new : 
        testCaseId:int * 
        testRunId:int * 
        testResultId:int -> TcmInformation
public function TcmInformation(
    testCaseId : int, 
    testRunId : int, 
    testResultId : int
)

参数

.NET Framework 安全性

请参见

参考

TcmInformation 类

Microsoft.VisualStudio.TestTools.Common 命名空间