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
)
参数
- testCaseId
类型:System.Int32
测试用例 ID。
- testRunId
类型:System.Int32
测试运行 ID。
- testResultId
类型:System.Int32
测试结果 ID。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。