skip to main content
OpenEdge Mobile 11.5.1 Updates : Session management updates : JSDOSession methods : unsubscribeAll( ) method
 
unsubscribeAll( ) method
Unsubscribes all event handler functions from a single named event of the current JSDO, JSDOSession or Session object, or unsubscribes all event handler functions from all events of the current JSDO, JSDOSession, or Session object.
Return type: null
Applies to: progress.data.JSDO class, progress.data.JSDOSession class, progress.data.Session class

Syntax

unsubscribeAll ( [ event-name ] )
event-name
A String that if specified, is the name of an event on the current object from which to unsubscribe all event handlers. If not specified, the method unsubscribes all event handlers from all events of the current object. See the reference entry for the progress.data.JSDO class, progress.data.JSDOSession class or the progress.data.Session class for a list of available events.
For a JSDOSession or Session object, the unsubscribeAll( ) method throws an error object if event-name does not identify an event supported by the progress.data.JSDOSession or progress.data.Session class (the lookup is case insensitive), or if event-name is not a String. For a JSDO, the method ignores these conditions.

See also:

progress.data.JSDO class, progress.data.Session class, unsubscribe( ) method (JSDO class), unsubscribe( ) method (JSDOSession class), unsubscribe( ) method (Session class)