EventClassAttribute Class
.NET Framework 3.0
Marks the attributed class as an event class. This class cannot be inherited.
Namespace: System.EnterpriseServices
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets.Class, Inherited=true)] public sealed class EventClassAttribute : Attribute
/** @attribute ComVisibleAttribute(false) */ /** @attribute AttributeUsageAttribute(AttributeTargets.Class, Inherited=true) */ public final class EventClassAttribute extends Attribute
ComVisibleAttribute(false) AttributeUsageAttribute(AttributeTargets.Class, Inherited=true) public final class EventClassAttribute extends Attribute
Not applicable.
If EventClass is specified, it must not be disabled in the COM+ catalog; if enabled in the COM+ catalog, it must be specified on the component.
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.
Community Additions
ADD
Show: