Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Sub AddRunInfo ( _
textMessage As String, _
ex As Exception, _
computer As String, _
outcome As TestOutcome _
)
'使用
Dim instance As RunResultAndStatistics
Dim textMessage As String
Dim ex As Exception
Dim computer As String
Dim outcome As TestOutcome
instance.AddRunInfo(textMessage, ex, computer, _
outcome)
public void AddRunInfo(
string textMessage,
Exception ex,
string computer,
TestOutcome outcome
)
public:
void AddRunInfo(
String^ textMessage,
Exception^ ex,
String^ computer,
TestOutcome outcome
)
public function AddRunInfo(
textMessage : String,
ex : Exception,
computer : String,
outcome : TestOutcome
)
Parameters
- textMessage
Type: System.String
- ex
Type: System.Exception
- computer
Type: System.String
- outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
Permissions
- 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.