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: System.String
A message that describes the error.
- innerException
Type: System.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
- 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