Information
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^, String^, Object^)

 

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, root UI control, UI test control, and source.

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

public:
UITestControlNotFoundException(
	PropertyExpressionCollection^ primaryProperties,
	PropertyExpressionCollection^ secondaryProperties,
	String^ root,
	Exception^ innerException,
	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.

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.

Return to top
Show: