RunInfo Constructor
Initializes an instance of the RunInfo class by using the provided information.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
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
)
Parameters
textMessage
Type: StringA string that contains text information about the test run execution.
ex
Type: ExceptionAn optional Exception.
computer
Type: StringThe name of the computer on which the test was run.
outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcomeA member of the TestOutcome enumeration, which indicates how the test run ended.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.