RunInfo – konstruktor
Inicializuje instanci RunInfo třídy pomocí daných informací.
Obor názvů: Microsoft.VisualStudio.TestTools.Common
Sestavení: Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)
Syntaxe
'Deklarace
Public Sub New ( _
textMessage As String, _
ex As Exception, _
computer As String, _
outcome As TestOutcome _
)
public RunInfo(
string textMessage,
Exception ex,
string computer,
TestOutcome outcome
)
public:
RunInfo(
String^ textMessage,
Exception^ ex,
String^ computer,
TestOutcome outcome
)
new :
textMessage:string *
ex:Exception *
computer:string *
outcome:TestOutcome -> RunInfo
public function RunInfo(
textMessage : String,
ex : Exception,
computer : String,
outcome : TestOutcome
)
Parametry
textMessage
Typ: StringA string , který obsahuje textové informace o provedení zkoušky.
ex
Typ: ExceptionVolitelným Exception.
computer
Typ: StringNázev počítače, ve kterém byl spuštěn test.
outcome
Typ: Microsoft.VisualStudio.TestTools.Common.TestOutcomeČlen TestOutcome výčtu, který označuje, jak je ukončeno zkouškou.
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.