Compartir a través de


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: String

    The 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

See Also

Reference

WebTestException Class

WebTestException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace