Share via


EventSubscriptionAttribute Class

Declares a method as an EventTopic subscription.

Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple:=True)> _
Public Class EventSubscriptionAttribute
    Inherits Attribute
'Usage
Dim instance As EventSubscriptionAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=true)] 
public class EventSubscriptionAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple=true)] 
public ref class EventSubscriptionAttribute : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=true) */ 
public class EventSubscriptionAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple=true) 
public class EventSubscriptionAttribute extends Attribute

Inheritance Hierarchy

System.Object
   System.Attribute
    Microsoft.Practices.CompositeUI.EventBroker.EventSubscriptionAttribute
       Microsoft.Practices.CompositeUI.StateChangedAttribute

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.

See Also

Reference

EventSubscriptionAttribute Members
Microsoft.Practices.CompositeUI.EventBroker Namespace