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: StringThe text to add.
.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.