Gets or sets the event identifier. When set to a non-zero value, an event id is emitted.
public int EventId { get; set; }