Share via


UITestControlNotAvailableException Constructor (IUITechnologyElement, Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided UI element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Sub New ( _
    element As IUITechnologyElement, _
    innerException As Exception _
)
public UITestControlNotAvailableException(
    IUITechnologyElement element,
    Exception innerException
)
public:
UITestControlNotAvailableException(
    IUITechnologyElement^ element, 
    Exception^ innerException
)
new : 
        element:IUITechnologyElement * 
        innerException:Exception -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    element : IUITechnologyElement, 
    innerException : Exception
)

Parameters

  • innerException
    Type: Exception

    The original exception that caused the current exception.

.NET Framework Security

See Also

Reference

UITestControlNotAvailableException Class

UITestControlNotAvailableException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElement