This documentation is archived and is not being maintained.

EventSchemaTraceListener.Write Method (String)

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
)

Parameters

message
Type: System.String

The message to write.

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

Important noteImportant Note:

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: