This documentation is archived and is not being maintained.

UITestControlNotFoundException Constructor (String, String, Object)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message, 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(
	string message,
	string uiTestControl,
	Object exceptionSource
)

Parameters

message
Type: System.String
The error message.
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: