IActionRecordingHelper.SetDefaultForTestCase 方法
将提供的操作录制设置为指定测试用例的默认操作录制。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Sub SetDefaultForTestCase ( _
testCaseId As Integer, _
actionRecording As ITestAttachment _
)
void SetDefaultForTestCase(
int testCaseId,
ITestAttachment actionRecording
)
void SetDefaultForTestCase(
int testCaseId,
ITestAttachment^ actionRecording
)
abstract SetDefaultForTestCase :
testCaseId:int *
actionRecording:ITestAttachment -> unit
function SetDefaultForTestCase(
testCaseId : int,
actionRecording : ITestAttachment
)
参数
- testCaseId
类型:System.Int32
测试用例的 ID。
- actionRecording
类型:Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment
表示操作录制的 ITestAttachment。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。