The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITestControlNotFoundException Constructor (PropertyExpressionCollection^, PropertyExpressionCollection^, String^, Exception^, ILastInvocationInfo^, String^, Object^)
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.
Show: