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