EventTopic.AddSubscription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddSubscription(Object, String, WorkItem, ThreadOption) | |
AddSubscription(Object, String, Type[], WorkItem, ThreadOption) |
AddSubscription(Object, String, WorkItem, ThreadOption)
public:
virtual void AddSubscription(System::Object ^ subscriber, System::String ^ handlerMethodName, Microsoft::Practices::CompositeUI::WorkItem ^ workItem, Microsoft::Practices::CompositeUI::EventBroker::ThreadOption threadOption);
public virtual void AddSubscription (object subscriber, string handlerMethodName, Microsoft.Practices.CompositeUI.WorkItem workItem, Microsoft.Practices.CompositeUI.EventBroker.ThreadOption threadOption);
abstract member AddSubscription : obj * string * Microsoft.Practices.CompositeUI.WorkItem * Microsoft.Practices.CompositeUI.EventBroker.ThreadOption -> unit
override this.AddSubscription : obj * string * Microsoft.Practices.CompositeUI.WorkItem * Microsoft.Practices.CompositeUI.EventBroker.ThreadOption -> unit
Public Overridable Sub AddSubscription (subscriber As Object, handlerMethodName As String, workItem As WorkItem, threadOption As ThreadOption)
Parameters
- subscriber
- Object
- handlerMethodName
- String
- workItem
- WorkItem
- threadOption
- ThreadOption
Applies to
AddSubscription(Object, String, Type[], WorkItem, ThreadOption)
public:
virtual void AddSubscription(System::Object ^ subscriber, System::String ^ handlerMethodName, cli::array <Type ^> ^ parameterTypes, Microsoft::Practices::CompositeUI::WorkItem ^ workItem, Microsoft::Practices::CompositeUI::EventBroker::ThreadOption threadOption);
public virtual void AddSubscription (object subscriber, string handlerMethodName, Type[] parameterTypes, Microsoft.Practices.CompositeUI.WorkItem workItem, Microsoft.Practices.CompositeUI.EventBroker.ThreadOption threadOption);
abstract member AddSubscription : obj * string * Type[] * Microsoft.Practices.CompositeUI.WorkItem * Microsoft.Practices.CompositeUI.EventBroker.ThreadOption -> unit
override this.AddSubscription : obj * string * Type[] * Microsoft.Practices.CompositeUI.WorkItem * Microsoft.Practices.CompositeUI.EventBroker.ThreadOption -> unit
Public Overridable Sub AddSubscription (subscriber As Object, handlerMethodName As String, parameterTypes As Type(), workItem As WorkItem, threadOption As ThreadOption)
Parameters
- subscriber
- Object
- handlerMethodName
- String
- parameterTypes
- Type[]
- workItem
- WorkItem
- threadOption
- ThreadOption