EventId Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : IEquatable<Microsoft::Extensions::Logging::EventId>
public readonly struct EventId : IEquatable<Microsoft.Extensions.Logging.EventId>
type EventId = struct
Public Structure EventId
Implements IEquatable(Of EventId)
- Inheritance
- Implements
Event |
Initializes an instance of the EventId struct. |
Equals(Event |
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) |
Indicates whether this instance and a specified object are equal. |
Get |
Returns the hash code for this instance. |
To |
Returns the fully qualified type name of this instance. |
Equality(Event |
Checks if two specified EventId instances have the same value. They are equal if they have the same Id. |
Implicit(Int32 to Event |
Implicitly creates an EventId from the given Int32. |
Inequality(Event |
Checks if two specified EventId instances have different values. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: