Click or drag to resize

DesktopConnectionremoveEventCallback Method

Removes a previously registered event listener from the specified event.

The listener is passed an event object containing information related to the event.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public void removeEventCallback(
	JObject subscriptionObject,
	AckCallback listener,
	AckCallback callback,
	AckCallback errorCallback,
	Object source
)

Parameters

subscriptionObject
Type: JObject
A JSON object containing subscription information such as the topic and type.
listener
Type: Openfin.DesktopAckCallback
A function that was called whenever an event of the specified type occurs. It is no longer called in response to an event of the passed type.
callback
Type: Openfin.DesktopAckCallback
A function that is called if the method succeeds.
errorCallback
Type: Openfin.DesktopAckCallback
A function that is called if the method fails. The reason for failure is passed as an argument.
source
Type: SystemObject
The object that originally registered the listener.
See Also