WebTestException Constructor (String)
Initializes a new instance of the WebTestException class with an error message.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
public WebTestException(
string message
)
public:
WebTestException(
String^ message
)
new :
message:string -> WebTestException
public function WebTestException(
message : String
)
Parameters
message
Type: StringThe message that describes the error.
Remarks
If message is nulla null reference (Nothing in Visual Basic), the call stack with file and line numbers is outputted.
.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.