IntelilTrace collects events during application running. We can add custom events to collect the data specific to the application. Enum is a special type in C# which underlying type is an integer. We need some special treatment for it in collecting it in IntelliTrace.