TestRunTextResultMessage Constructor (Guid, String, Exception)

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

See Also

Reference

TestRunTextResultMessage Class

TestRunTextResultMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace