Dela via


WebTestEndOfDataException Constructor (String, Exception)

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

Parameters

  • message
    Type: System.String
    The error message that explains the reason for the exception.
  • innerException
    Type: System.Exception
    The exception that is the cause of the current exception.

.NET Framework Security

See Also

Reference

WebTestEndOfDataException Class

WebTestEndOfDataException Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace