EventTopic.RemoveSubscription Method
Removes a subscription from this EventTopic.
Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Overridable Sub RemoveSubscription ( _
subscriber As Object, _
handlerMethodName As String _
)
'Usage
Dim instance As EventTopic
Dim subscriber As Object
Dim handlerMethodName As String
instance.RemoveSubscription(subscriber, handlerMethodName)
public virtual void RemoveSubscription (
Object subscriber,
string handlerMethodName
)
public:
virtual void RemoveSubscription (
Object^ subscriber,
String^ handlerMethodName
)
public void RemoveSubscription (
Object subscriber,
String handlerMethodName
)
public function RemoveSubscription (
subscriber : Object,
handlerMethodName : String
)
Parameters
- subscriber
The object that contains the method that will handle the EventTopic.
- handlerMethodName
The name of the method on the subscriber that will handle the EventTopic.
See Also
Reference
EventTopic Class
EventTopic Members
Microsoft.Practices.CompositeUI.EventBroker Namespace