Export (0) Print
Expand All

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 abstract void WriteLine(
	string format,
	params Object[] args
)

Parameters

format
Type: String

The string that contains the trace message.

args
Type: Object[]

Arguments to add to the trace message.

Show:
© 2014 Microsoft