UITestControlNotAvailableException Constructor (String, Exception, String, Object)
Visual Studio 2010
Initializes a new instance of the UITestControlNotAvailableException class by using the provided error message, UI test control, and source.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public UITestControlNotAvailableException( string message, Exception innerException, string uiTestControl, Object exceptionSource )
Parameters
- message
- Type: System.String
The error message.
- innerException
- Type: System.Exception
The original exception that caused the current exception.
- uiTestControl
- Type: System.String
A string representation of the UITestControl that is blocked.
- exceptionSource
- Type: System.Object
The object that is the source of the exception.
- 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.