Share via


WebTestException Class

The exception that is thrown by the test engine for errors that occur while a test is running.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class WebTestException _
    Inherits Exception
'Usage
Dim instance As WebTestException
[SerializableAttribute]
public class WebTestException : Exception
[SerializableAttribute]
public ref class WebTestException : public Exception
public class WebTestException extends Exception

Remarks

This class is serializable.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestException
      Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestEmptyTableException
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestEndOfDataException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebTestException Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Working with Web Tests