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

Remarks

Use this constructor when the exact UI element is not available, such as when you search by a query string.

.NET Framework Security

See Also

Reference

UITestControlNotFoundException Class

UITestControlNotFoundException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace