UITestException 构造函数

包括受保护的成员
包括继承的成员

初始化 UITestException 类的新实例。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 UITestException() 初始化 UITestException 类的新实例。
公共方法 UITestException(String) 用给定的错误消息初始化 UITestException 类的新实例。
受保护的方法 UITestException(SerializationInfo, StreamingContext) 初始化 UITestException 类的新实例以反序列化异常。
公共方法 UITestException(String, Exception) 使用提供的消息和内部异常初始化 UITestException 类的新实例。

页首

请参见

参考

UITestException 类

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