UITestControlNotAvailableException Constructor (String, Exception)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided 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 UITestControlNotAvailableException(
    string message,
    Exception innerException
)
public:
UITestControlNotAvailableException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The error message.

  • innerException
    Type: Exception

    The original exception that caused this exception.

.NET Framework Security

See Also

Reference

UITestControlNotAvailableException Class

UITestControlNotAvailableException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace