TestRunTextResultMessage Constructor (String, Guid, String, TestMessageKind)
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
Public Sub New ( _
computerName As String, _
runId As Guid, _
messageText As String, _
messageKind As TestMessageKind _
)
public TestRunTextResultMessage(
string computerName,
Guid runId,
string messageText,
TestMessageKind messageKind
)
public:
TestRunTextResultMessage(
String^ computerName,
Guid runId,
String^ messageText,
TestMessageKind messageKind
)
new :
computerName:string *
runId:Guid *
messageText:string *
messageKind:TestMessageKind -> TestRunTextResultMessage
public function TestRunTextResultMessage(
computerName : String,
runId : Guid,
messageText : String,
messageKind : TestMessageKind
)
Parameters
- computerName
Type: System.String
The name of the machine that ran the test.
- runId
Type: System.Guid
A Guid that identifies the test run.
- messageText
Type: System.String
The text for the message.
- messageKind
Type: Microsoft.VisualStudio.TestTools.Common.TestMessageKind
One 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