WriteLine Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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
public abstract void WriteLine (
	String format, 
	Object[] args
public abstract function WriteLine (
	format : String, 
	... args : Object[]



The string that contains the trace message.


Arguments to add to the trace message.

© 2015 Microsoft