Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: String- The error message that explains the reason for the exception. 
- innerException 
 Type: Exception- The exception that is the cause of the current exception. 
.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.