<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.2" />

EventOpcode

public sealed class EventOpcode
Contains an event opcode that is defined in an event provider. An opcode defines a numeric value that identifies the activity or a point within an activity that the application was performing when it raised the event.
public string DisplayName { get; }

Gets the localized name for an event opcode.

public string Name { get; }

Gets the non-localized name for an event opcode.

public int Value { get; }

Gets the numeric value associated with the event opcode.