EventSchemaTraceListener.Write(String) Method

Definition

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

public:
 override void Write(System::String ^ message);
public override void Write (string message);
override this.Write : string -> unit
Public Overrides Sub Write (message As String)

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