BMXNET 4.0 Developer API

The LocalEventService type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
HasSubscribers(String)
Checks to see there are any subscriptions for this event.
Subscribe(String)
Subscribe to the local event named anEventName.
TriggerEvent(String, String)
To publish an event call TriggerEvent with the event name and optional details. There is no restriction on what local events that can be triggered. A "REFRESH" event can be broadcast as well as any other application specific or well-known loal event.
Unsubscribe(String)
Unscribe scribes from the event. It is not mandatory to unsubscribe from this event at the end of your object's lifecycle but you should either subsubscribe or remote the event handler.

See Also