NOTE: This API is now obsolete.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
computerInfo As ComputerInfo, _
runId As Guid, _
test As ITestElement, _
kind As TestMessageKind _
)
'使用
Dim computerInfo As ComputerInfo
Dim runId As Guid
Dim test As ITestElement
Dim kind As TestMessageKind
Dim instance As New TestResultMessage(computerInfo, _
runId, test, kind)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultMessage(
ComputerInfo computerInfo,
Guid runId,
ITestElement test,
TestMessageKind kind
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultMessage(
ComputerInfo^ computerInfo,
Guid runId,
ITestElement^ test,
TestMessageKind kind
)
public function TestResultMessage(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement,
kind : TestMessageKind
)
Parameters
- computerInfo
Type: Microsoft.VisualStudio.TestTools.Common.ComputerInfo
- 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.