WebTestException – konstruktor (String, Exception)
Inicializuje novou instanci WebTestException třída se chybová zpráva a odkaz na vnější Exception , která způsobila tuto výjimku.
Obor názvů: Microsoft.VisualStudio.TestTools.WebTesting
Sestavení: Microsoft.VisualStudio.QualityTools.WebTestFramework (v Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntaxe
'Deklarace
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
)
Parametry
- message
Typ: System.String
Chybová zpráva s vysvětlením důvodu výjimky.
- innerException
Typ: System.Exception
Výjimka, který je příčinou aktuální výjimku.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.