Partager via


TestContext.WriteLine Method

Definition

Overloads

WriteLine()

Used to write trace messages while the test is running

WriteLine(String, Object[])

Used to write trace messages while the test is running

WriteLine()

Used to write trace messages while the test is running

public:
 abstract void WriteLine(System::String ^ message);
public abstract void WriteLine (string message);
abstract member WriteLine : string -> unit
Public MustOverride Sub WriteLine (message As String)

Applies to

WriteLine(String, Object[])

Used to write trace messages while the test is running

public:
 abstract void WriteLine(System::String ^ format, ... cli::array <System::Object ^> ^ args);
public abstract void WriteLine (string format, params object[] args);
abstract member WriteLine : string * obj[] -> unit
Public MustOverride Sub WriteLine (format As String, ParamArray args As Object())

Parameters

format
String

format string

args
Object[]

the arguments

Applies to