WarningAction 构造函数 (String, UITechnologyElement)

 

初始化 WarningAction 类的新实例。

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

语法

public WarningAction(
    string message,
    UITechnologyElement uiElement
)
public:
WarningAction(
    String^ message,
    UITechnologyElement^ uiElement
)
new : 
        message:string *
        uiElement:UITechnologyElement -> WarningAction
Public Sub New (
    message As String,
    uiElement As UITechnologyElement
)

参数

  • message
    包含警告消息的 string

请参阅

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

返回页首