Compartir a través de


EventTopic.AddSubscription Method

Definition

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

Applies to