<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Diagnostics.Tracing.EventAttribute

public sealed class EventAttribute : Attribute
namespace System.Diagnostics.Tracing { public sealed class EventAttribute : Attribute { public EventActivityOptions ActivityOptions { get; set; } public EventChannel Channel { get; set; } public int EventId { get; } public EventKeywords Keywords { get; set; } public EventLevel Level { get; set; } public string Message { get; set; } public EventOpcode Opcode { get; set; } public EventTags Tags { get; set; } public EventTask Task { get; set; } public byte Version { get; set; } public EventAttribute(int eventId); } }