MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestContext.WriteLine Method (String, Object())

 

When overridden in a derived class, used to write trace messages while the test is running.

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

Public MustOverride Sub WriteLine (
	format As String,
	ParamArray args As Object()
)

Parameters

format
Type: System.String

The string that contains the trace message.

args
Type: System.Object()

Arguments to add to the trace message.

Return to top
Show:
© 2016 Microsoft