ConnectionFailedWebTestException Constructor (String, Exception)

Initializes a new instance of the ConnectionFailedWebTestException class with a specified error message and a reference to the inner exception that is the cause of 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 ConnectionFailedWebTestException(
    string message,
    Exception innerException
)
public:
ConnectionFailedWebTestException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ConnectionFailedWebTestException
public function ConnectionFailedWebTestException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    A message that describes the error.

  • innerException
    Type: Exception

    The exception that is the cause of the current exception.

Remarks

An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property.

.NET Framework Security

See Also

Reference

ConnectionFailedWebTestException Class

ConnectionFailedWebTestException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace

InnerException

Message