EventId Struct
Definition
Identifies a logging event. The primary identifier is the "Id" property, with the "Name" property providing a short description of this type of event.
public value class EventId
public struct EventId
type EventId = struct
Public Structure EventId
- Inheritance
Constructors
EventId(Int32, String) |
Initializes an instance of the EventId struct. |
Properties
Id |
Gets the numeric identifier for this event. |
Name |
Gets the name of this event. |
Methods
Equals(EventId) |
Indicates whether the current object is equal to another object of the same type. Two events are equal if they have the same id. |
Equals(Object) | |
GetHashCode() | |
ToString() |
Operators
Equality(EventId, EventId) |
Checks if two specified EventId instances have the same value. They are equal if they have the same Id. |
Implicit(Int32 to EventId) |
Implicitly creates an EventId from the given Int32. |
Inequality(EventId, EventId) |
Checks if two specified EventId instances have different values. |