Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Sub New ( _
computerName As String, _
runId As Guid, _
test As ITestElement, _
kind As TestMessageKind _
)
'使用
Dim computerName As String
Dim runId As Guid
Dim test As ITestElement
Dim kind As TestMessageKind
Dim instance As New TestResultMessage(computerName, _
runId, test, kind)
public TestResultMessage(
string computerName,
Guid runId,
ITestElement test,
TestMessageKind kind
)
public:
TestResultMessage(
String^ computerName,
Guid runId,
ITestElement^ test,
TestMessageKind kind
)
public function TestResultMessage(
computerName : String,
runId : Guid,
test : ITestElement,
kind : TestMessageKind
)
Parameters
- computerName
Type: System.String
- runId
Type: System.Guid
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.