Initializes a new instance of the UITestControlNotVisibleException class.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotVisibleException(
    string message,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotVisibleException(
    String^ message, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotVisibleException
public function UITestControlNotVisibleException(
    message : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)
Parameters
- message 
 Type: String- The error message. 
- innerException 
 Type: Exception- The original exception that caused the current exception. 
- uiTestControl 
 Type: String- A string representation of the UITestControl that is blocked. 
- exceptionSource 
 Type: Object- The object that is the source of the 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
UITestControlNotVisibleException Class
UITestControlNotVisibleException Overload