Share via


UITestException Constructor (String, Exception)

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

Parameters

  • message
    Type: String

    An error message.

  • innerException
    Type: Exception

    The exception that caused the current exception.

.NET Framework Security

See Also

Reference

UITestException Class

UITestException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace