UITestControlNotFoundException Constructor (String, Exception)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message and inner exception.

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, _
    innerException As Exception _
)
public UITestControlNotFoundException(
    string message,
    Exception innerException
)
public:
UITestControlNotFoundException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The error message.

  • innerException
    Type: Exception

    The original exception that caused the current exception.

.NET Framework Security

See Also

Reference

UITestControlNotFoundException Class

UITestControlNotFoundException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace