Udostępnij za pośrednictwem


Konstruktor WebTestStoppedException — (String, Exception)

Inicjuje nowe wystąpienie WebTestStoppedException klasy, która ma komunikat o błędzie i odniesienia do wewnętrznej Exception , która spowodowała wyjątek.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.WebTesting
Zestaw:  Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Składnia

'Deklaracja
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
)

Parametry

  • message
    Typ: String

    Komunikat o błędzie wyjaśniający przyczynę wyjątku.

  • innerException
    Typ: Exception

    Wyjątek, który jest przyczyną bieżącego wyjątek.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WebTestStoppedException Klasa

Przeciążenie WebTestStoppedException

Przestrzeń nazw Microsoft.VisualStudio.TestTools.WebTesting