Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Note: This API is now obsolete.
Initializes a new instance of the TestResultMessage class.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<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 _
)
[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
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new :
computerInfo:ComputerInfo *
runId:Guid *
test:ITestElement *
kind:TestMessageKind -> TestResultMessage
public function TestResultMessage(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement,
kind : TestMessageKind
)
Parameters
computerInfo
Type: Microsoft.VisualStudio.TestTools.Common.ComputerInfoA ComputerInfo object.
runId
Type: GuidA Guid for the test run.
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementA StreamingContext object.
kind
Type: Microsoft.VisualStudio.TestTools.Common.TestMessageKindOne of the TestMessageKind values.
Remarks
This constructor method is obsolete. Use TestResultMessage instead.
.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.