Description. This method is used to set the name of an event. The name must be unique among all events visible from the current application (see Section 18.104.22.168, “Event::getDurability()”).
You can also set the event's name when first creating it. See Section 22.214.171.124, “Event Constructor”.
void setName ( const char* name )
name to be given to the event (as
a constant character pointer).
Return value. None.