使用提供的 ID、标记信息和结果初始化 TestStepMarkerAction 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Sub New ( _
stepId As Integer, _
markerInfo As String, _
outcome As String _
)
public TestStepMarkerAction(
int stepId,
string markerInfo,
string outcome
)
public:
TestStepMarkerAction(
int stepId,
String^ markerInfo,
String^ outcome
)
new :
stepId:int *
markerInfo:string *
outcome:string -> TestStepMarkerAction
public function TestStepMarkerAction(
stepId : int,
markerInfo : String,
outcome : String
)
参数
- stepId
类型:System.Int32
一个表示步骤标识符的 int。
- markerInfo
类型:System.String
有关标记的信息。
- outcome
类型:System.String
标记结果的说明。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。