EventSchemaTraceListener.WriteLine Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Diagnostics
Assembly:  System.Core (in System.Core.dll)

public override void WriteLine(
	string message
)

Parameters

message
Type: System.String

The message to write.

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

System_CAPS_importantImportant

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.

.NET Framework
Available since 3.5
Return to top
Show: