This documentation is archived and is not being maintained.

TraceEventType Enumeration

Identifies the type of event that has caused the trace.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

public enum class TraceEventType

Member nameDescription
CriticalFatal error or application crash.
ErrorRecoverable error.
WarningNoncritical problem.
InformationInformational message.
VerboseDebugging trace.
StartStarting of a logical operation.
StopStopping of a logical operation.
SuspendSuspension of a logical operation.
ResumeResumption of a logical operation.
TransferChanging of correlation identity.

TraceEventType is used to identify the event that caused a trace in calls to the TraceSource::TraceEvent methods.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.