TestStepMarkerAction 构造函数 (Int32, String, String)

使用提供的 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。

.NET Framework 安全性

请参见

参考

TestStepMarkerAction 类

TestStepMarkerAction 重载

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间