This documentation is archived and is not being maintained.

EventClassAttribute Class

Marks the attributed class as an event class. This class cannot be inherited.

For a list of all members of this type, see EventClassAttribute Members.


[Visual Basic]
NotInheritable Public Class EventClassAttribute
   Inherits Attribute
public sealed class EventClassAttribute : Attribute
public __gc __sealed class EventClassAttribute : public Attribute
class EventClassAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Method calls on an event class are never delivered to the implementation; they are instead delivered to event subscribers.

For a list of initial property values for an instance of EventClassAttribute, see the EventClassAttribute constructor.

For more information about using attributes, see Extending Metadata Using Attributes.


Namespace: System.EnterpriseServices

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)

See Also

EventClassAttribute Members | System.EnterpriseServices Namespace