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)
Syntax
'Declaration
Public Sub New ( _
primaryProperties As PropertyExpressionCollection, _
secondaryProperties As PropertyExpressionCollection, _
root As String, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
PropertyExpressionCollection primaryProperties,
PropertyExpressionCollection secondaryProperties,
string root,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
PropertyExpressionCollection^ primaryProperties,
PropertyExpressionCollection^ secondaryProperties,
String^ root,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
primaryProperties:PropertyExpressionCollection *
secondaryProperties:PropertyExpressionCollection *
root:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
primaryProperties : PropertyExpressionCollection,
secondaryProperties : PropertyExpressionCollection,
root : String,
innerException : Exception,
uiTestControl : String,
exceptionSource : Object
)
Parameters
primaryProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionThe primary properties of the control.
secondaryProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionThe secondary properties of the control.
root
Type: StringA string representation of the root element.
innerException
Type: ExceptionThe original exception that caused the current exception.
uiTestControl
Type: StringA string representation of the UITestControl that is blocked.
exceptionSource
Type: ObjectThe 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
UITestControlNotFoundException Class
UITestControlNotFoundException Overload