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

 

使用提供的 ID、标记信息和结果初始化 TestStepMarkerAction 类的新实例。

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

语法

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 Sub New (
    stepId As Integer,
    markerInfo As String,
    outcome As String
)

参数

  • stepId
    一个表示步骤标识符的 int
  • markerInfo
    有关标记的信息。
  • outcome
    标记结果的说明。

请参阅

TestStepMarkerAction 重载
TestStepMarkerAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首