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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ConnectionFailedWebTestException Class
ConnectionFailedWebTestException Overload