WarningAction 构造函数 (String, UITechnologyElement)

初始化 WarningAction 类的新实例。

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

语法

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

参数

.NET Framework 安全性

请参见

参考

WarningAction 类

WarningAction 重载

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