Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

System.Object
   System.Attribute
      System.EnterpriseServices.EventClassAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Class)>
<ComVisible(False)>
NotInheritable Public Class EventClassAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class)]
[ComVisible(false)]
public sealed class EventClassAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class)]
[ComVisible(false)]
public __gc __sealed class EventClassAttribute : public Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Class)
 ComVisible(false)
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.

Remarks

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.

Requirements

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft