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 ( _
    runId As Guid, _
    messageText As String, _
    exception As Exception _
)
public TestRunTextResultMessage(
    Guid runId,
    string messageText,
    Exception exception
)
public:
TestRunTextResultMessage(
    Guid runId, 
    String^ messageText, 
    Exception^ exception
)
new : 
        runId:Guid * 
        messageText:string * 
        exception:Exception -> TestRunTextResultMessage
public function TestRunTextResultMessage(
    runId : Guid, 
    messageText : String, 
    exception : Exception
)
Parameters
- runId 
 Type: Guid- A Guid for the test run. 
- messageText 
 Type: String- The text for the message. 
- exception 
 Type: Exception- The exception that precipitated this message. 
.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