Partager via


WebTestStoppedException Constructor (String, Exception)

Initializes a new instance of the WebTestStoppedException class that has 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 WebTestStoppedException(
    string message,
    Exception innerException
)
public:
WebTestStoppedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> WebTestStoppedException
public function WebTestStoppedException(
    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

See Also

Reference

WebTestStoppedException Class

WebTestStoppedException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace