Freigeben über


WebTestException-Konstruktor (String, Exception)

Initialisiert eine neue Instanz der WebTestException-Klasse mit einer Fehlermeldung und einem Verweis auf die interne Exception, die Ursache dieser Ausnahme ist.

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 WebTestException(
    string message,
    Exception innerException
)
public:
WebTestException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> WebTestException
public function WebTestException(
    message : String, 
    innerException : Exception
)

Parameter

  • message
    Typ: System.String
    Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.
  • innerException
    Typ: System.Exception
    Die Ausnahme, die die Ursache der aktuellen Ausnahme ist.

.NET Framework-Sicherheit

Siehe auch

Referenz

WebTestException Klasse

WebTestException-Überladung

Microsoft.VisualStudio.TestTools.WebTesting-Namespace