AlignedTextWriterTraceListener TraceEvent Method (TraceEventCache, String, TraceEventType, Int32, String,  Object )CleanCode C# Libraries v1.2.03 API
Writes trace information, a formatted array of objects 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 format,
	params Object[] args
)

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.
format
Type: OnlineSystem String
A format string that contains zero or more format items, which correspond to objects in the args array.
args
Type:  OnlineSystem Object 
An object array containing zero or more objects to format.
See Also