Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Diagnostics.​Tracing.​EventAttribute

Assembly: System.Diagnostics.Tracing

Inheritance: object → Attribute → EventAttribute

Specifies additional event schema information for an event.

Properties

ActivityOptions
Specifies the behavior of the start and stop events of an activity. An activity is the region of time in an app between the start and the stop.
public EventChannel
Channel
Gets or sets an additional event log where the event should be written.
public int
EventId
Gets or sets the identifier for the event.
public EventKeywords
Keywords
Gets or sets the keywords for the event.
public EventLevel
Level
Gets or sets the level for the event.
public string
Message
Gets or sets the message for the event.
public EventOpcode
Opcode
Gets or sets the operation code for the event.
public EventTags
Tags
Gets or sets the <see cref="T:System.Diagnostics.Tracing.EventTags" /> value for this <see cref="T:System.Diagnostics.Tracing.EventAttribute" /> object. An event tag is a user-defined value that is passed through when the event is logged.
public EventTask
Task
Gets or sets the task for the event.
public byte
Version
Gets or sets the version of the event.
public object
TypeId

Methods

public bool
Equals​(object obj)
Inherited from Attribute
public int
GetHashCode​()
Inherited from Attribute
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object