Share via


TestResult.AddTextMessage Method

Adds a text message to this test result.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub AddTextMessage ( _
    text As String _
)
public void AddTextMessage(
    string text
)
public:
void AddTextMessage(
    String^ text
)
member AddTextMessage : 
        text:string -> unit
public function AddTextMessage(
    text : String
)

Parameters

  • text
    Type: String

    The text to add.

.NET Framework Security

See Also

Reference

TestResult Class

Microsoft.VisualStudio.TestTools.Common Namespace