Condividi tramite


Costruttore WebTestStoppedException (String, Exception)

Inizializza una nuova istanza della classe WebTestStoppedException con un messaggio di errore e un riferimento all'eccezione Exception interna che ha causato l'eccezione corrente.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

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

Parametri

  • message
    Tipo: String

    Messaggio di errore nel quale viene indicato il motivo dell’eccezione

  • innerException
    Tipo: Exception

    Eccezione causa dell'eccezione corrente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WebTestStoppedException Classe

Overload WebTestStoppedException

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting