Freigeben über


WebTestStoppedException-Konstruktor (String, Exception)

Initialisiert eine neue Instanz der WebTestStoppedException-Klasse, die über eine Fehlermeldung und einen Verweis auf die innere Exception verfügt, 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 WebTestStoppedException(
    string message,
    Exception innerException
)
public:
WebTestStoppedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> WebTestStoppedException
public function WebTestStoppedException(
    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

WebTestStoppedException Klasse

WebTestStoppedException-Überladung

Microsoft.VisualStudio.TestTools.WebTesting-Namespace