Name

EventAttributes

Synopsis

This is an enumeration of the attributes that can be placed on events. None specifies no attributes. ReservedMask is a reserved flag for use only by the runtime. SpecialName indicates that the event is described by the name. RTSpecialName is similar, but states that the runtime should check the encoding of the name.

public enum EventAttributes {
   None = 0x00000000,
   SpecialName = 0x00000200,
   ReservedMask = 0x00000400,
   RTSpecialName = 0x00000400
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) EventAttributes

Returned By

EventInfo.Attributes

Passed To

System.Reflection.Emit.TypeBuilder.DefineEvent( )

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.