UITestControlNotAvailableException Constructor (Exception, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided inner exception, UI test control, and exception source.

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

Syntax

'Declaration
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
)

Parameters

  • innerException
    Type: System.Exception
    The original exception that caused this exception.
  • exceptionSource
    Type: System.Object
    The object that is the source of the exception.

.NET Framework Security

See Also

Reference

UITestControlNotAvailableException Class

UITestControlNotAvailableException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITestControl