| IMapTKey, TValueAddEntryListener Method (MapListener, TKey, Boolean) |
Adds a
MapListener for the specified key, 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
Syntax string AddEntryListener(
MapListener listener,
TKey key,
bool includeValue
)
Function AddEntryListener (
listener As MapListener,
key As TKey,
includeValue As Boolean
) As String
String^ AddEntryListener(
MapListener^ listener,
TKey key,
bool includeValue
)
abstract AddEntryListener :
listener : MapListener *
key : 'TKey *
includeValue : bool -> string
Parameters
- listener
- Type: Hazelcast.CoreMapListener
MapListener for this map - key
- Type: TKey
key to listen - 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 Remarks Warning:
This method uses
GetHashCode and
Equals of binary form of
the
key, not the actual implementations of
GetHashCode and
Equals
defined in
key's class.
See Also