Condividi tramite


Costruttore WebTestException (String, Exception)

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

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

WebTestException Classe

Overload WebTestException

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting