UITestControlNotAvailableException 构造函数 (Exception, String, Object)

使用提供的内部异常、UI 测试控件和异常源初始化 UITestControlNotAvailableException 类的新实例。

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

语法

声明
Public Sub New ( _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotAvailableException(
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotAvailableException(
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

参数

  • exceptionSource
    类型:System.Object
    作为异常源的 object。

.NET Framework 安全性

请参见

参考

UITestControlNotAvailableException 类

UITestControlNotAvailableException 重载

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

UITestControl