function removeEvent (shared-side)
Removes a custom event and its handlers. On the server, only its owning resource may remove it.
Declaration
void removeEvent(string event_name)
Parameters
stringevent_name: Custom event name.