Share via


LoggerMessageAttribute.EventId Property

Definition

Gets or sets the logging event ID for the logging method.

public:
 property int EventId { int get(); void set(int value); };
public int EventId { get; set; }
member this.EventId : int with get, set
Public Property EventId As Integer

Property Value

Applies to