Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a RunInfo object to the RunInfoList property value.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub AddRunInfo ( _
textMessage As String, _
ex As Exception, _
computer As String, _
outcome As TestOutcome _
)
public void AddRunInfo(
string textMessage,
Exception ex,
string computer,
TestOutcome outcome
)
public:
void AddRunInfo(
String^ textMessage,
Exception^ ex,
String^ computer,
TestOutcome outcome
)
member AddRunInfo :
textMessage:string *
ex:Exception *
computer:string *
outcome:TestOutcome -> unit
public function AddRunInfo(
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.