TestRunTextResultMessage Constructor (ComputerInfo, Guid, String, TestMessageKind)
Note: This API is now obsolete.
Initializes a new instance of the TestRunTextResultMessage 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 computerName instead.")> _
Public Sub New ( _
computerInfo As ComputerInfo, _
runId As Guid, _
messageText As String, _
messageKind As TestMessageKind _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes computerName instead.")]
public TestRunTextResultMessage(
ComputerInfo computerInfo,
Guid runId,
string messageText,
TestMessageKind messageKind
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes computerName instead.")]
public:
TestRunTextResultMessage(
ComputerInfo^ computerInfo,
Guid runId,
String^ messageText,
TestMessageKind messageKind
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes computerName instead.")>]
new :
computerInfo:ComputerInfo *
runId:Guid *
messageText:string *
messageKind:TestMessageKind -> TestRunTextResultMessage
public function TestRunTextResultMessage(
computerInfo : ComputerInfo,
runId : Guid,
messageText : String,
messageKind : TestMessageKind
)
Parameters
- computerInfo
Type: Microsoft.VisualStudio.TestTools.Common.ComputerInfo
runId
Type: GuidA Guid that identifies the test run.
messageText
Type: StringThe text for the message.
messageKind
Type: Microsoft.VisualStudio.TestTools.Common.TestMessageKindOne of the TestMessageKind values.
.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.
See Also
Reference
TestRunTextResultMessage Class
TestRunTextResultMessage Overload