使用说明性消息和元素初始化 ErrorAction 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public ErrorAction(
string message,
UITechnologyElement uiElement
)
public:
ErrorAction(
String^ message,
UITechnologyElement^ uiElement
)
new :
message:string *
uiElement:UITechnologyElement -> ErrorAction
Public Sub New (
message As String,
uiElement As UITechnologyElement
)
参数
- message
关于错误的说明。
- uiElement
在其中发生错误的元素。
请参阅
ErrorAction 重载
ErrorAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首