![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IMapTKey, TValueAddEntryListener Method (MapListener, Boolean) |
Adds a
MapListener for this map.To receive an event, you should implement a corresponding
MapListener sub-interface for that event.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntaxstring AddEntryListener(
MapListener listener,
bool includeValue
)
Function AddEntryListener (
listener As MapListener,
includeValue As Boolean
) As String
String^ AddEntryListener(
MapListener^ listener,
bool includeValue
)
abstract AddEntryListener :
listener : MapListener *
includeValue : bool -> string
Parameters
- listener
- Type: Hazelcast.CoreMapListener
MapListener for this map - includeValue
- Type: SystemBoolean
true if EntryEvent should contain the value.
Return Value
Type:
Stringa registration Id which is used as a key to remove the listener.
Exceptions
See Also