TestResultMessage Constructor (String, Guid, TestMessageKind)
Initializes a new instance of the TestResultMessage class by using the provided computer name, test run ID, and test result kind.
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, _
kind As TestMessageKind _
)
public TestResultMessage(
string computerName,
Guid runId,
TestMessageKind kind
)
public:
TestResultMessage(
String^ computerName,
Guid runId,
TestMessageKind kind
)
new :
computerName:string *
runId:Guid *
kind:TestMessageKind -> TestResultMessage
public function TestResultMessage(
computerName : String,
runId : Guid,
kind : TestMessageKind
)
Parameters
computerName
Type: StringThe name of the computer that executed the test run.
runId
Type: GuidA Guid for the test run.
kind
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.