UITestControlNotFoundException Constructor (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)
Visual Studio 2010
Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, inner exception, last invocation information, UI test control, and source.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public UITestControlNotFoundException( PropertyExpressionCollection primaryProperties, PropertyExpressionCollection secondaryProperties, string root, Exception innerException, ILastInvocationInfo lastInfo, string uiTestControl, Object exceptionSource )
Parameters
- primaryProperties
- Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
The primary properties of the control.
- secondaryProperties
- Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
The secondary properties of the control.
- root
- Type: System.String
A string representation of the root element.
- innerException
- Type: System.Exception
The original exception that caused the current exception.
- lastInfo
- Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
An ILastInvocationInfo object.
- 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.