DOFInterestListenerremoved Method OpenDOF Object Access Library
Called when the InterestListener is removed from the DOF.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
void removed(
	DOF dof,
	DOFException exception
)

Parameters

dof
Type: org.opendof.core.oalDOF
The DOF where this listener was added. This will never be null.
exception
Type: org.opendof.core.oalDOFException
An exception that caused the listener to be removed prematurely. This will be null if the application removed the listener normally.
Remarks

Called when the InterestListener is removed from the DOF. Use this method to free resources associated with the listener. The interestRemoved(DOF, DOFRequest, DOFObjectID, DOFInterfaceID, DOFInterestLevel) callback will not be called after the listener is removed, so it may be necessary to clean up resources associated with interestAdded(DOF, DOFRequest, DOFObjectID, DOFInterfaceID, DOFInterestLevel) calls for which no interestRemoved call was received when the listener is removed.
See Also

Reference