WebTestException Constructor (String, Exception)

Initializes a new instance of the WebTestException class with an error message and a reference to the inner Exception that caused this exception.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public WebTestException(
    string message,
    Exception innerException
)
public:
WebTestException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> WebTestException
public function WebTestException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    The error message that explains the reason for the exception.
  • innerException
    Type: System.Exception
    The exception that is the cause of the current exception.

.NET Framework Security

See Also

Reference

WebTestException Class

WebTestException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace