EventSchemaTraceListener.Write Method (String)


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

Writes a message to the log file without providing any additional context information.

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

public override void Write(
	string message


Type: System.String

The message to write.

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


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