LoggerMessageAttribute.EventName Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le nom de l’événement de journalisation pour la méthode de journalisation.
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
Valeur de propriété
Remarques
Cela équivaut au nom de la méthode s’il n’est pas spécifié.