Write Method (String)
Collapse the table of content
Expand the table of content

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 Overrides Sub Write (
	message As String


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
© 2016 Microsoft