EventSchemaTraceListener.Write(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.