Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteLine Method
Collapse the table of content
Expand the table of content

TestContext::WriteLine Method

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:
virtual void WriteLine(
	String^ format, 
	... array<Object^>^ args
) abstract

Parameters

format
Type: System::String

The string that contains the trace message.

args
Type: array<System::Object>

Arguments to add to the trace message.

Show:
© 2015 Microsoft