UITestControlNotFoundException Constructor (String)
Initializes a new instance of the UITestControlNotFoundException class by using the provided error message.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
public UITestControlNotFoundException(
string message
)
public:
UITestControlNotFoundException(
String^ message
)
new :
message:string -> UITestControlNotFoundException
public function UITestControlNotFoundException(
message : String
)
Parameters
- message
Type: System.String
The error message.
Remarks
Use this constructor when the exact UI element is not available, such as when you search by a query string.
.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