EventTopic.Fire Method
Fires the EventTopic.
Namespace: Microsoft.Practices.CompositeUI.EventBroker
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Overridable Sub Fire ( _
sender As Object, _
e As EventArgs, _
workItem As WorkItem, _
scope As PublicationScope _
)
'Usage
Dim instance As EventTopic
Dim sender As Object
Dim e As EventArgs
Dim workItem As WorkItem
Dim scope As PublicationScope
instance.Fire(sender, e, workItem, scope)
public virtual void Fire (
Object sender,
EventArgs e,
WorkItem workItem,
PublicationScope scope
)
public:
virtual void Fire (
Object^ sender,
EventArgs^ e,
WorkItem^ workItem,
PublicationScope scope
)
public void Fire (
Object sender,
EventArgs e,
WorkItem workItem,
PublicationScope scope
)
public function Fire (
sender : Object,
e : EventArgs,
workItem : WorkItem,
scope : PublicationScope
)
Parameters
- sender
The object that acts as the sender of the event to the subscribers.
- e
An EventArgs instance to be passed to the subscribers.
- workItem
The WorkItem where the object firing the event is.
- scope
A PublicationScope value stating the scope of the firing behavior.
See Also
Reference
EventTopic Class
EventTopic Members
Microsoft.Practices.CompositeUI.EventBroker Namespace