Assembly: System (in system.dll)
The TraceEventCache class, designed as a performance optimization for trace listener calls, is of interest only to developers creating custom trace listeners.
The TraceEventCache class is used as a parameter in tracing methods to accurately identify the source of a trace event. Examples of methods that use TraceEventCache are TraceListener.TraceEvent and TraceFilter.ShouldTrace. The LogicalOperationStack property contains data that can be used to correlate the trace with related traces.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.