EventSchemaTraceListener.WriteLine(String) Method

Definition

Writes a message followed by the current line terminator to the log file without providing any additional context information.

C#
public override void WriteLine(string message);

Parameters

message
String

The message to write.

Remarks

The TraceEvent method is called to log the message as an Information event.

Important

This method is not intended to be called directly by application code. It is called by methods of the Debug, Trace, and TraceSource classes to write trace data.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1