AlignedTextWriterTraceListener TraceEvent Method (TraceEventCache, String, TraceEventType, Int32, String)CleanCode C# Libraries v1.2.03 API
Writes trace information, a message, and event information to the listener specific output.

Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public override void TraceEvent(
	TraceEventCache eventCache,
	string source,
	TraceEventType eventType,
	int id,
	string message
)

Parameters

eventCache
Type: OnlineSystem.Diagnostics TraceEventCache
A OnlineTraceEventCache object that contains the current process ID, thread ID, and stack trace information.
source
Type: OnlineSystem String
A name used to identify the output, typically the name of the application that generated the trace event.
eventType
Type: OnlineSystem.Diagnostics TraceEventType
One of the OnlineTraceEventType values specifying the type of event that has caused the trace.
id
Type: OnlineSystem Int32
A numeric identifier for the event.
message
Type: OnlineSystem String
A message to write.
See Also