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
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementA UITechnologyElement object.
innerException
Type: ExceptionThe original exception that caused the current exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITestControlNotAvailableException Class
UITestControlNotAvailableException Overload