Κοινή χρήση μέσω


LoggerMessageAttribute.EventName Property

Definition

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

public:
 property System::String ^ EventName { System::String ^ get(); void set(System::String ^ value); };
public string? EventName { get; set; }
member this.EventName : string with get, set
Public Property EventName As String

Property Value

Remarks

This will equal the method name if not specified.

Applies to