EventLevel Class

Definition

Contains an event level that is defined in an event provider. The level signifies the severity of the event.

public ref class EventLevel sealed
public sealed class EventLevel
type EventLevel = class
Public NotInheritable Class EventLevel
Inheritance
EventLevel

Remarks

This class cannot be instantiated. A ProviderMetadata object defies a list of EventLevel objects, one for each level defined in the provider. The standard level values and their meanings are defined in the StandardEventLevel enumeration.

Properties

DisplayName

Gets the localized name for the event level. The name describes what severity level of events this level is used for.

Name

Gets the non-localized name of the event level.

Value

Gets the numeric value of the event level.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also