Share via


ConnectionFailedWebTestException Constructor (Exception)

Initializes a new instance of the ConnectionFailedWebTestException class with 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 ( _
    innerException As Exception _
)
public ConnectionFailedWebTestException(
    Exception innerException
)
public:
ConnectionFailedWebTestException(
    Exception^ innerException
)
new : 
        innerException:Exception -> ConnectionFailedWebTestException
public function ConnectionFailedWebTestException(
    innerException : Exception
)

Parameters

  • innerException
    Type: System.Exception
    The exception that is the cause of the current exception.

Remarks

This constructor initializes the Message property of the new instance to use the ConnectionFailedWebTestExceptionMessage, and considers the current system culture.

.NET Framework Security

See Also

Reference

ConnectionFailedWebTestException Class

ConnectionFailedWebTestException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace

InnerException

Message